only potentially skip GAP event on startup, not on cluster restart

parent 312aec9e
......@@ -3731,6 +3731,7 @@ pthread_handler_t ndb_binlog_thread_func(void *arg)
check if it is the first log, if so we do not insert a GAP event
as there is really no log to have a GAP in
*/
if (incident_id == 0)
{
LOG_INFO log_info;
mysql_bin_log.get_current_log(&log_info);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment