Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use last_master_timestamp from mysql_bin_log and not raft log
Summary: last_master_timestamp in rli->relay_log is not initialized and not kept up to date. Although this sounds unintuitive from raft point of view, its not from the non-raft standpoint. In non-raft mode tailers are always served from binlog files and not from relay log files and hence keeping mysql_bin_log up to date was understandable. During the port of Dump log functionality to 8.0, I think by mistake references to mysql_bin_log in rpl_binlog_sender were migrated to Dump_log. This however caused a Uninitialized Memory Read issue because of the uninitialized last_master_timestamp value. Reviewed By: abhinav04sharma Differential Revision: D34843214 fbshipit-source-id: a615975a302e13984a2f6d6b0b778213c30061f6
- Loading branch information