innodb_lru_dump_restore.patch: buf_LRU_file_dump() holds LRU_list_mutex while doing file I/O

Bug #686534 reported by Alexey Kopytov
48
This bug affects 6 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

buf_LRU_file_dump() holds LRU_list_mutex when writing to the dump file. This basically means that all operations on buffer pool are blocked for the duration of the dump.

We can easily improve this by first copying offsets to memory while holding the mutex, and then release it before the actual dump.

Related branches

Changed in percona-server:
importance: Undecided → Low
Revision history for this message
Stewart Smith (stewart) wrote :

marking as in progress due to merge req existing

Changed in percona-server:
status: New → In Progress
assignee: nobody → Alexey Kopytov (akopytov)
Revision history for this message
Stewart Smith (stewart) wrote :

Status of this patch?

Revision history for this message
Alexey Kopytov (akopytov) wrote :
Revision history for this message
Vojtech Kurka (vojtech-kurka) wrote :

Is there any plan to fix this? I see the bugreport is more than 1 year old.

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

I don't have bandwidth to work on this. Unassigning, hope someone else can either update my original MP, or fix this specific issue with LRU dump.

Revision history for this message
George Ormond Lorch III (gl-az) wrote : Re: [Bug 686534] Re: innodb_lru_dump_restore.patch: buf_LRU_file_dump() holds LRU_list_mutex while doing file I/O

I'll take it since I was recently in that area and have a pretty good
idea of what the fix is.

On 6/27/2012 8:22 AM, Alexey Kopytov wrote:
> I don't have bandwidth to work on this. Unassigning, hope someone else
> can either update my original MP, or fix this specific issue with LRU
> dump.
>
> ** Also affects: percona-server/5.5
> Importance: Low
> Assignee: Alexey Kopytov (akopytov)
> Status: In Progress
>
> ** Changed in: percona-server/5.5
> Status: In Progress => Triaged
>
> ** Changed in: percona-server/5.1
> Importance: Low => Medium
>
> ** Changed in: percona-server/5.5
> Importance: Low => Medium
>
> ** Changed in: percona-server/5.1
> Assignee: Alexey Kopytov (akopytov) => (unassigned)
>
> ** Changed in: percona-server/5.5
> Assignee: Alexey Kopytov (akopytov) => (unassigned)
>

--
George O. Lorch III
Software Engineer, Percona Inc.
+1-888-401-3401 x542 US/Arizona (GMT -7)
skype: george.ormond.lorch.iii

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-1167

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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