Merge lp:~sergei.glushchenko/percona-server/ST-27220-bug1042946 into lp:percona-server/5.5

Proposed by Sergei Glushchenko
Status: Merged
Approved by: Laurynas Biveinis
Approved revision: no longer in the source branch.
Merged at revision: 405
Proposed branch: lp:~sergei.glushchenko/percona-server/ST-27220-bug1042946
Merge into: lp:percona-server/5.5
Diff against target: 10 lines (+1/-0)
1 file modified
Percona-Server/sql/rpl_utility.cc (+1/-0)
To merge this branch: bzr merge lp:~sergei.glushchenko/percona-server/ST-27220-bug1042946
Reviewer Review Type Date Requested Status
Laurynas Biveinis (community) Approve
Vlad Lesin (community) g2 Approve
Review via email: mp+141429@code.launchpad.net

Description of the change

This is a fix for memory leak issue in PS 5.5 and MySQL 5.5 related to deferred events management. Due to missing update of last_added pointer when deferred events container been cleaned subsequent event can be forgotten to delete.
See details at https://bugs.launchpad.net/percona-server/+bug/1042946/comments/32
Jenkins looks pretty good
http://jenkins.percona.com/view/PS%205.5/job/percona-server-5.5-param/608/

To post a comment you must log in.
Revision history for this message
Vlad Lesin (vlad-lesin) :
review: Approve (g2)
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Percona-Server/sql/rpl_utility.cc'
2--- Percona-Server/sql/rpl_utility.cc 2012-04-21 10:24:39 +0000
3+++ Percona-Server/sql/rpl_utility.cc 2013-01-03 08:44:24 +0000
4@@ -1115,6 +1115,7 @@
5 if (array.elements > array.max_element)
6 freeze_size(&array);
7 reset_dynamic(&array);
8+ last_added= NULL;
9 }
10 }
11

Subscribers

People subscribed via source and target branches