Don't rotate binlog if prepared xids in log

Bug #1036040 reported by Stewart Smith on 2012-08-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server
Low
Stewart Smith
5.5
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

lp:~stewart/percona-server/max-binlog-files
Merged into lp:percona-server/5.5 at revision 306
Laurynas Biveinis: Approve on 2012-08-16
Alexey Kopytov: Pending requested 2012-08-13
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers