Merge lp:~laurynas-biveinis/percona-server/bug1305364-5.6 into lp:percona-server/5.6
Status: | Merged |
---|---|
Approved by: | Laurynas Biveinis |
Approved revision: | no longer in the source branch. |
Merged at revision: | 593 |
Proposed branch: | lp:~laurynas-biveinis/percona-server/bug1305364-5.6 |
Merge into: | lp:percona-server/5.6 |
Diff against target: |
91 lines (+24/-3) 4 files modified
storage/innobase/btr/btr0sea.cc (+5/-1) storage/innobase/buf/buf0flu.cc (+12/-2) storage/innobase/buf/buf0lru.cc (+2/-0) storage/innobase/include/buf0buf.ic (+5/-0) |
To merge this branch: | bzr merge lp:~laurynas-biveinis/percona-server/bug1305364-5.6 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vlad Lesin (community) | g2 | Approve | |
Review via email: mp+217090@code.launchpad.net |
Description of the change
Merge bug 1305364 (InnoDB: Assertion failure in file buf0flu.cc line
546 | crashes if RW workload and InnoDB compression are combined) from
5.5 and null-merge fix for bug 1219833.
The automerged bits from 5.5 are extra assertions in
buf_flush_
other 5.5 bits have been null-merged.
The 5.6-specific extra fixes implemented:
- in btr_search_
buf_page_
counterintuitive way to achieve the correct locking, but the obvious
option of moving up the block mutex locking would violate the
locking order with page_hash locking performed by
buf_block_
verbose changes to lock to get the right latch, unlock, relock,
check the state.
- in buf_flush_
LRU list is unlocked), return false for them.
- in buf_page_get_block: assert that page hash is S or X latched or
that LRU list mutex is held.
http://
Not sure if G1 or G2
Looks good for me.