Details
Assignee
UnassignedUnassignedReporter
Rahul MalikRahul Malik(Deactivated)Needs QA
YesAffects versions
Priority
Medium
Details
Details
Assignee
Unassigned
UnassignedReporter
Rahul Malik
Rahul Malik(Deactivated)Needs QA
Yes
Affects versions
Priority
Smart Checklist
Smart Checklist
Smart Checklist
Created April 6, 2023 at 5:23 AM
Updated December 6, 2024 at 11:44 AM
Background
When we start page tracking, it is started from the current system LSN A. This means all the pages that are flushed after that are tracked.
After some time If I am interested in knowing the count of modified pages at the time I started page tracking till the current moment(current checkpoint LSN B) . MySQL provides an interface
Select mysqlbackup_page_track_get_changed_page_count( A,B);
Where A is the LSN when the page tracking was started. B is checkpoint LSN. If we provide B=0, B would take the current checkpoint LSN.
Problem
MySQL has put a restriction that checkpoint LSN B > A. For a system with a huge redo current system LSN and checkpoint LSN could be apart.
A could be greater than B even after some time.
If our interest in knowing all modified pages to the moment. Why do we need this restriction?
I tried removing the restriction. I can get changed pages successfully. I checked the clone which also need pagetracking data and there is no restriction.
Please see if there is a reason for this restriction or if we can remove that.