lp:~stewart/percona-server/5.6-doublewrite
- Get this branch:
- bzr branch lp:~stewart/percona-server/5.6-doublewrite
Branch merges
- Laurynas Biveinis (community): Needs Fixing
-
Diff: 1047 lines (+400/-55)22 files modifiedPercona-Server/mysql-test/suite/innodb/r/percona_innodb_doublewrite_file.result (+13/-0)
Percona-Server/mysql-test/suite/innodb/t/percona_innodb_doublewrite_file-master.opt (+1/-0)
Percona-Server/mysql-test/suite/innodb/t/percona_innodb_doublewrite_file.test (+12/-0)
Percona-Server/mysql-test/suite/sys_vars/r/innodb_doublewrite_file_basic.result (+3/-0)
Percona-Server/mysql-test/suite/sys_vars/t/innodb_doublewrite_file_basic-master.opt (+1/-0)
Percona-Server/mysql-test/suite/sys_vars/t/innodb_doublewrite_file_basic.test (+2/-0)
Percona-Server/storage/innobase/buf/buf0buf.cc (+2/-1)
Percona-Server/storage/innobase/buf/buf0dblwr.cc (+68/-26)
Percona-Server/storage/innobase/buf/buf0rea.cc (+3/-1)
Percona-Server/storage/innobase/dict/dict0load.cc (+3/-2)
Percona-Server/storage/innobase/fil/fil0fil.cc (+15/-14)
Percona-Server/storage/innobase/fsp/fsp0fsp.cc (+3/-3)
Percona-Server/storage/innobase/handler/ha_innodb.cc (+9/-0)
Percona-Server/storage/innobase/include/mtr0log.ic (+3/-2)
Percona-Server/storage/innobase/include/srv0srv.h (+2/-0)
Percona-Server/storage/innobase/include/srv0start.h (+3/-0)
Percona-Server/storage/innobase/include/trx0sys.h (+24/-0)
Percona-Server/storage/innobase/include/trx0sys.ic (+35/-0)
Percona-Server/storage/innobase/row/row0mysql.cc (+1/-1)
Percona-Server/storage/innobase/srv/srv0srv.cc (+2/-0)
Percona-Server/storage/innobase/srv/srv0start.cc (+163/-0)
Percona-Server/storage/innobase/trx/trx0sys.cc (+32/-5)
Branch information
- Owner:
- Stewart Smith
- Status:
- Abandoned
Recent revisions
- 310. By Stewart Smith
-
Port innodb_
doublewrite_ file to Percona Server 5.6 This was a little bit involved as the doublewrite buffer code has been
refactored in MySQL 5.6 out into buf0dblwr.cc.One design difference in the 5.6 patch versus 5.5 and before is that where
InnoDB code has needed to be duplicated, I have instead refactored that code
to accept tablespace id as a parameter rather than copy&pasting it. With
this method, we should get merge conflicts if this code is changed upstream,
making it easier to ensure our end result code is correct. - 307. By Stewart Smith
-
null merge innodb_
lru_dump_ restore. patch from PS5.5. Relpaced by MySQL functionality - 306. By Stewart Smith
-
null merge innodb_
extend_ slow.patch from PS5.5. We're going to replace it with a plugin, possibly omitting some of the extended InnoDB parts - 303. By Stewart Smith
-
null merge innodb_
admin_command_ base.patch as it was only used for manual LRU dump/restore and this is now native in MySQL 5.6 - 302. By Stewart Smith
-
null merge innodb_
recovery_ patches. patch - two bug fixes have been broken out into separate commits and we aren't bringing innodb_ recovery_ stats forward to PS 5.6 - 301. By Stewart Smith
-
Extract fix for http://
bugs.mysql. com/bug. php?id= 44140 from innodb_ recovery_ patches. patch Description from original bug report:
Description:
Sometimes (it is really rare), We meet the error message during crash recovery of InnoDB.090405 4:29:47 InnoDB: ERROR: We were only able to scan the log up to 1319 813701532
InnoDB: but a database page a had an lsn 1319 814039859. It is possible that the
InnoDB: database is now corrupt!I accept the message as,,
"There have been some logged modification to certain page before the last recv_recover_page() for the page"And I have caught the modification.
#0 0x00000000004a5b60 in log_close ()
#1 0x00000000004d93b9 in mtr_commit ()
#2 0x000000000042e572 in ibuf_delete_rec ()
#3 0x000000000042f314 in ibuf_merge_or_delete_ for_page ()
#4 0x000000000049724e in buf_page_io_complete ()
#5 0x00000000004cbdd7 in fil_aio_wait ()
#6 0x000000000040c678 in io_handler_thread ()I suspect ibuf_merge_
or_delete_ for_page( ) from buf_page_ io_complete( ) (triggered by recv_read_ in_area( )) and recv_recover_page() from recv_apply_ hashed_ log_recs( ) can conflict.
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.5