From fe84f9599baebdad7c52a67d5dbf83169dc0446c Mon Sep 17 00:00:00 2001 From: Markus Makela Date: Thu, 7 Apr 2016 12:51:38 +0300 Subject: [PATCH] Removed messages about incomplete transaction events The message is logged when a DDL statement is executed. It should not be logged if trx_safe is on since the current_safe_event should always point at the event we are sending. The current_safe_event is set to the wrong value which causes this message to be logged. Due to the false positives caused by this, the message is removed. --- server/modules/routing/binlog/blr_master.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/server/modules/routing/binlog/blr_master.c b/server/modules/routing/binlog/blr_master.c index 8a4d1e2fb..c978c5d17 100644 --- a/server/modules/routing/binlog/blr_master.c +++ b/server/modules/routing/binlog/blr_master.c @@ -1931,13 +1931,6 @@ blr_distribute_binlog_record(ROUTER_INSTANCE *router, REP_HEADER *hdr, uint8_t * (hdr->event_type == ROTATE_EVENT && strcmp(slave->binlogfile, router->prevbinlog)))) { - if (router->trx_safe) - { - MXS_ERROR("Slave %s:%d, server ID %u: Sending event from an " - "incomplete transaction from file %s@%u.", - slave->dcb->remote, ntohs((slave->dcb->ipv4).sin_port), - slave->serverid, slave->binlogfile, slave->binlog_pos); - } /** * Transaction safety is off or there are no pending transactions */