Merge lp:~akopytov/percona-server/bug1247305-5.5 into lp:percona-server/5.5

Proposed by Alexey Kopytov
Status: Merged
Approved by: Laurynas Biveinis
Approved revision: no longer in the source branch.
Merged at revision: 597
Proposed branch: lp:~akopytov/percona-server/bug1247305-5.5
Merge into: lp:percona-server/5.5
Diff against target: 19 lines (+8/-0)
1 file modified
Percona-Server/storage/innobase/trx/trx0trx.c (+8/-0)
To merge this branch: bzr merge lp:~akopytov/percona-server/bug1247305-5.5
Reviewer Review Type Date Requested Status
Vlad Lesin (community) g2 Approve
Review via email: mp+193923@code.launchpad.net

Description of the change

    Bug #1247305: InnoDB: Assertion failure in thread <nr> in file trx0trx.c
                  line 180

    Acquire kernel_mutex to satisfy a debug assertion in
    trx_release_descriptor() when calling it from
    trx_cleanup_at_db_startup().

http://jenkins.percona.com/view/PS%205.5/job/percona-server-5.5-param/893/

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

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'Percona-Server/storage/innobase/trx/trx0trx.c'
--- Percona-Server/storage/innobase/trx/trx0trx.c 2013-09-06 13:24:59 +0000
+++ Percona-Server/storage/innobase/trx/trx0trx.c 2013-11-05 13:24:28 +0000
@@ -1306,7 +1306,15 @@
1306 }1306 }
13071307
1308 trx->state = TRX_NOT_STARTED;1308 trx->state = TRX_NOT_STARTED;
1309
1310 /* This code is executed in a single threaded context, but we acquire
1311 kernel_mutex to satisfy a debug assertion in
1312 trx_release_descriptor(). */
1313
1314 mutex_enter(&kernel_mutex);
1309 trx_release_descriptor(trx);1315 trx_release_descriptor(trx);
1316 mutex_exit(&kernel_mutex);
1317
1310 trx->rseg = NULL;1318 trx->rseg = NULL;
1311 trx->undo_no = 0;1319 trx->undo_no = 0;
1312 trx->last_sql_stat_start.least_undo_no = 0;1320 trx->last_sql_stat_start.least_undo_no = 0;

Subscribers

People subscribed via source and target branches