Don't rotate binlog if prepared xids in log

Bug #1036040 reported by Stewart Smith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Fix Released
Low
Stewart Smith
5.5
Fix Released
Low
Stewart Smith

Bug Description

253. By Stewart Smith on 2012-05-30
fix the purge() call in MYSQL_BIN_LOG::trx_group_commit_leader(group_commit_entry *leader)

The binlog shouldn't be rotated while there's prepared xids in it, so the condition in the if() here is wrong, we should run purge() if we have no xid_count and check_purge was set.

Related branches

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-1931

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.