Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing calculation seconds behind master when IO thread is caught up
Summary: When IO has finished downloading all binlogs but SQL thread is still executing events a HB event from the master used to update the last master timestamp on the slave which lead to SBM being reset. This change updates last master timestamp from a HB event only when the SQL thread has caught up to the IO thread. Reference Patch: 257d463 Reviewed By: Pushapgl Differential Revision: D27885260 fbshipit-source-id: 3642d8fca88
- Loading branch information