Purging bitmaps exactly up to the last tracked LSN aborts change tracking

Bug #1382336 reported by Laurynas Biveinis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Fix Released
Medium
Laurynas Biveinis
5.1
Won't Fix
Medium
Unassigned
5.5
Fix Released
Medium
Laurynas Biveinis
5.6
Fix Released
Medium
Laurynas Biveinis

Bug Description

PURGE CHANGED_PAGE_BITMAPS closes the current bitmap file if purge LSN >= current tracked LSN, and reopens it later if purge LSN > current tracked LSN. There is a mismatch between >= and >.

log_online_purge_changed_page_bitmaps(...)
{
...
 if (srv_track_changed_pages && lsn >= log_bmp_sys->end_lsn) {
  /* If we have to delete the current output file, close it
  first. */
  os_file_close(log_bmp_sys->out.file);
  log_bmp_sys->out.file = os_file_invalid;
 }
...
 if (srv_track_changed_pages) {
  if (lsn > log_bmp_sys->end_lsn) {
                      /* Open a new file */
...

Related branches

tags: added: bitmap i44209 xtradb
summary: - Purging bitmaps up to the last tracked LSN aborts change tracking
+ Purging bitmaps exactly up to the last tracked LSN aborts change
+ tracking
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-1550

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.