added warning on cluster reconnect and binlog usage, that data may be missing

parent 7b876a71
...@@ -3473,6 +3473,12 @@ pthread_handler_t ndb_binlog_thread_func(void *arg) ...@@ -3473,6 +3473,12 @@ pthread_handler_t ndb_binlog_thread_func(void *arg)
ndb_latest_applied_binlog_epoch= 0; ndb_latest_applied_binlog_epoch= 0;
ndb_latest_received_binlog_epoch= 0; ndb_latest_received_binlog_epoch= 0;
} }
else if (ndb_latest_applied_binlog_epoch > 0)
{
sql_print_warning("NDB Binlog: cluster has reconnected. "
"Changes to the database that occured while "
"disconnected will not be in the binlog");
}
if (ndb_extra_logging) if (ndb_extra_logging)
{ {
sql_print_information("NDB Binlog: starting log at epoch %u", sql_print_information("NDB Binlog: starting log at epoch %u",
......
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