expire_logs_days broken by group_commit patch
Bug #1006214 reported by
Stewart Smith
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
Medium
|
Stewart Smith | ||
5.5 |
Fix Released
|
Medium
|
Stewart Smith |
Bug Description
in MYSQL_BIN_
if (xid_count > 0 && check_purge)
{
purge();
}
This skips the purge() check and can be pretty easily reproduced with lp:~stewart/percona-server/max-binlog-files branch as otherwise you get to wait for X days to test it.
Related branches
lp:~stewart/percona-server/max-binlog-files
- Laurynas Biveinis (community): Approve
- Alexey Kopytov: Pending requested
-
Diff: 641 lines (+477/-1)14 files modifiedPercona-Server/mysql-test/r/mysqld--help-notwin.result (+6/-0)
Percona-Server/mysql-test/r/mysqld--help-win.result (+6/-0)
Percona-Server/mysql-test/r/percona_server_variables_debug.result (+1/-0)
Percona-Server/mysql-test/r/percona_server_variables_release.result (+1/-0)
Percona-Server/mysql-test/suite/binlog/r/percona_binlog_max_nr.result (+30/-0)
Percona-Server/mysql-test/suite/binlog/t/percona_binlog_max_nr-master.opt (+2/-0)
Percona-Server/mysql-test/suite/binlog/t/percona_binlog_max_nr.test (+60/-0)
Percona-Server/mysql-test/suite/sys_vars/r/max_binlog_files_basic.result (+134/-0)
Percona-Server/mysql-test/suite/sys_vars/t/max_binlog_files_basic.test (+147/-0)
Percona-Server/sql/log.cc (+76/-1)
Percona-Server/sql/log.h (+1/-0)
Percona-Server/sql/mysqld.cc (+4/-0)
Percona-Server/sql/mysqld.h (+1/-0)
Percona-Server/sql/sys_vars.cc (+8/-0)
To post a comment you must log in.
Does it affect MariaDB, as the patch comes from there?