Percona Server with XtraDB

Wrong initial value for srv_track_changed_pages

Reported by Alexey Kopytov on 2013-07-20
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server
Status tracked in 5.6
5.1
Low
Laurynas Biveinis
5.5
Low
Laurynas Biveinis
5.6
Low
Laurynas Biveinis

Bug Description

srv_track_changed_pages is defined in srv0srv.c[c] as follows:

UNIV_INTERN my_bool srv_track_changed_pages = TRUE;

Which contradicts the corresponding server option's default value (FALSE). Since option parsing is performed before the changed pages tracking is initialized, it is changed from its initial value to FALSE on startup, so everything accidentally works as documented.

It only becomes a problem when XtraBackup is rebased on the newer PS versions. Since XtraBackup doesn't use the plugin options parsing facility (and thus ignores innodb_track_changed_pages and its default value), it uses the initial value defined srv0srv. As a result, XtraBackup recovery starts with page tracking enabled.

tags: added: low-hanging-fruit
tags: added: bitmap xtradb
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers