Skip to content

Commit a0e9419

Browse files
author
Venkatesh Duggirala
committed
Bug#20574628: SEMI-SYNC REPLICATION PERFORMANCE DEGRADES WITH A HIGH NUMBER OF THREADS
Fixing a post push pb2 valgrind failure: ======================================== Rpl_semi_sync::resetMaster does not have to do active_tranxs_ cleanup
1 parent f07090f commit a0e9419

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

plugin/semisync/semisync_master.cc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1271,11 +1271,6 @@ int ReplSemiSyncMaster::resetMaster()
12711271
rpl_semi_sync_master_trx_wait_time = 0;
12721272
rpl_semi_sync_master_net_wait_num = 0;
12731273
rpl_semi_sync_master_net_wait_time = 0;
1274-
if ( !is_on() && active_tranxs_ && active_tranxs_->is_empty())
1275-
{
1276-
delete active_tranxs_;
1277-
active_tranxs_ = NULL;
1278-
}
12791274

12801275
unlock();
12811276

0 commit comments

Comments
 (0)