innodb_lru_dump_restore.patch: Buffer pool dump may result in incomplete dump file

Bug #686392 reported by Alexey Kopytov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Fix Released
Medium
George Ormond Lorch III
5.1
Fix Released
Medium
George Ormond Lorch III
5.5
Fix Released
Medium
George Ormond Lorch III

Bug Description

Since the output file is simply overwritten when dumping the LRU list, we may end up with a partially written dump file in case of a crash, or when making a backup copy of it.

The more safe approach would be to dump to a temporary file first, and then rename it to the actual dump file.

Related branches

summary: - innodb_dump_restore.patch: Buffer pool dump may result in incomplete
+ innodb_lru_dump_restore.patch: Buffer pool dump may result in incomplete
dump
summary: innodb_lru_dump_restore.patch: Buffer pool dump may result in incomplete
- dump
+ dump file
Stewart Smith (stewart)
Changed in percona-server:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Alexey Kopytov (akopytov)
Revision history for this message
Stewart Smith (stewart) wrote :

What's the status of this bug? Is it in progress? Can we expect it for next 5.1 and 5.5 releases?

Revision history for this message
Alexey Kopytov (akopytov) wrote :

It is fixed by the linked MP. What needs to be done to get it merged is to make LRU dump ordering optional. It stalled as a low-priority task, but can be completed for the next 5.1 and 5.5 releases. I'm going to create a blueprint for the MP.

Revision history for this message
Alexey Kopytov (akopytov) wrote :
Changed in percona-server:
assignee: Alexey Kopytov (akopytov) → George Ormond Lorch III (gl-az)
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-1166

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.