lp:~laurynas-biveinis/percona-server/bug1217002-5.1
- Get this branch:
- bzr branch lp:~laurynas-biveinis/percona-server/bug1217002-5.1
Branch merges
- Alexey Kopytov (community): Approve
-
Diff: 308 lines (+173/-7)9 files modifiedPercona-Server/mysql-test/r/percona_server_variables_debug.result (+2/-0)
Percona-Server/mysql-test/suite/innodb_plugin/r/percona_changed_page_bmp_debug.result (+14/-0)
Percona-Server/mysql-test/suite/innodb_plugin/t/percona_changed_page_bmp_debug-master.opt (+1/-1)
Percona-Server/mysql-test/suite/innodb_plugin/t/percona_changed_page_bmp_debug.test (+46/-0)
Percona-Server/storage/innodb_plugin/fil/fil0fil.c (+5/-0)
Percona-Server/storage/innodb_plugin/handler/ha_innodb.cc (+80/-3)
Percona-Server/storage/innodb_plugin/log/log0recv.c (+2/-1)
Percona-Server/storage/innodb_plugin/row/row0merge.c (+17/-2)
Percona-Server/storage/innodb_plugin/srv/srv0srv.c (+6/-0)
Related bugs
Bug #1217002: RENAME/DROP crashes with innodb_track_changed_pages | Critical | Fix Released |
|
Related blueprints
Branch information
- Owner:
- Laurynas Biveinis
- Status:
- Merged
Recent revisions
- 578. By Laurynas Biveinis
-
Fix
- bug 1217002 (RENAME/DROP crashes with innodb_track_changed_ pages);
- bug 1213885 (Failing assertion: error == DB_SUCCESS in file
handler0alter.cc line 4897 | abort in commit_cache_rebuild) . Both bugs are caused by a recent upstream change that makes
MLOG_FILE_RENAME to replay unconditionally whenever such log record is
parsed, which includes online log tracking.Fix by
- asserting in fil_op_log_parse_ or_replay( ) that, if a file operation
is about to be executed, that recovery is on, and
- adjusting recv_parse_or_apply_ log_rec_ body() to only pass non-zero
space_id to fil_op_log_parse_ or_replay if recovery is on. A
non-zero space_id is what causes fil_op_log_parse_ or_replay( ) to
replay and not only parse the log record.Changes for testing:
- backport from 5.5+ the debug-only innodb_log_checkpoint_ now system
variable;
- make innodb_track_changed_ pages a dynamic variable, for debug builds
only, to provide the ability to stop log tracking temporarily;
- add a new debug-only system variable innodb_track_redo_ log_now, that
issues a synchronuous redo log parse request;
- add a new debug sync point to row_merge_rename_ tables( );
- use all of the above to add a testcase to
percona_changed_ page_bmp_ debug test. - 577. By Laurynas Biveinis
-
Merge lp:~gl-az/percona-server/ST-31919-5.1 again to fix the previous merge of the same branch
- 571. By <email address hidden>
-
Merge lp:~hrvojem/percona-server/rn-5.1.69-14.7-gca-trunk-5.1
http://jenkins. percona. com/job/ merge-PS- 5.1-docs- kickoff/ 20/
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:percona-server/5.6