Merge lp:~gl-az/percona-server/5.1-lru_dump_load_work into lp:percona-server/5.1
Status: | Merged | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Approved by: | Alexey Kopytov | ||||||||||||
Approved revision: | no longer in the source branch. | ||||||||||||
Merged at revision: | 444 | ||||||||||||
Proposed branch: | lp:~gl-az/percona-server/5.1-lru_dump_load_work | ||||||||||||
Merge into: | lp:percona-server/5.1 | ||||||||||||
Diff against target: |
100 lines (+37/-3) 1 file modified
Percona-Server/storage/innodb_plugin/buf/buf0lru.c (+37/-3) |
||||||||||||
To merge this branch: | bzr merge lp:~gl-az/percona-server/5.1-lru_dump_load_work | ||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alexey Kopytov (community) | Approve | ||
Review via email: mp+106114@code.launchpad.net |
Description of the change
- Launchpad Bug #686392 : Buffer pool dump may result in incomplete dump file.
- Implemented simple temp file on save and rename to real file on successful dump.
- Carried over one or two dump file sanity checks from Alexey K prior work.
- Launchpad Bug #712055 : Loading LRU dump prevents shutdown
- Merged patch noted in bug and also implemented same logic when shutdown comes while performing actual dump. Was able to test and verify its effectiveness with a 1G buffer pool and innodb_
- Tried to create a test case for this issue but I don't think a proper 'success' case can be built due to the need for a sizable, existing ib_lru_dump file and the natural race conditions ump/that this works with (there is no guarantee that the preload won't finish before the shutdown signal comes).
- Launchpad Bug #713481 : Clean up messaging for LRU dump
- It appears that PS 5.1 already has begin/end messages for lru restore. Added some verbage to the missing file message to make it not so scary.
Jenkins results at: http://
I am unsure about the failures but they _look_ like Jenkins issues..
OK to merge, but please duplicate the MP description in the revision comment.