Skip to content

Commit

Permalink
Bug#20574628: SEMI-SYNC REPLICATION PERFORMANCE DEGRADES WITH A HIGH …
Browse files Browse the repository at this point in the history
…NUMBER OF THREADS

Fixing a post push pb2 valgrind failure:
========================================
Rpl_semi_sync::resetMaster does not have to do active_tranxs_ cleanup
  • Loading branch information
Venkatesh Duggirala committed Mar 31, 2015
1 parent f07090f commit a0e9419
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions plugin/semisync/semisync_master.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1271,11 +1271,6 @@ int ReplSemiSyncMaster::resetMaster()
rpl_semi_sync_master_trx_wait_time = 0;
rpl_semi_sync_master_net_wait_num = 0;
rpl_semi_sync_master_net_wait_time = 0;
if ( !is_on() && active_tranxs_ && active_tranxs_->is_empty())
{
delete active_tranxs_;
active_tranxs_ = NULL;
}

unlock();

Expand Down

0 comments on commit a0e9419

Please sign in to comment.