SHOW SLAVE StATUS NOLOCK doesn't work as expected

Bug #851011 reported by Oleg Tsarev on 2011-09-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Fix Released
Undecided
Oleg Tsarev
5.1
Fix Released
Undecided
Oleg Tsarev
5.5
Fix Released
Undecided
Oleg Tsarev
Rnt-5.1
Fix Released
Undecided
Oleg Tsarev

Bug Description

SHOW SLAVE STATUS NOLOCK acquire lock in:
sql/slave.cc: 1650
  pthread_mutex_lock(&mi->run_lock);

main.percona_show_slave_status_nolock [ fail ]
        Test ended at 2011-09-15 18:20:41

CURRENT_TEST: main.percona_show_slave_status_nolock
--- /ram/12952/Percona-Server-5.1.58-rel12.9/mysql-test/r/percona_show_slave_status_nolock.result 2011-09-15 18:20:23.991097855 +0300
+++ /ram/12952/Percona-Server-5.1.58-rel12.9/mysql-test/r/percona_show_slave_status_nolock.reject 2011-09-15 18:20:41.433510718 +0300
@@ -31,8 +31,10 @@
 SHOW SLAVE STATUS NOLOCK;
 # should receive signal, because not locked
 SET DEBUG_SYNC='now WAIT_FOR signal.after_show_slave_status TIMEOUT 1';
+Warnings:
+Warning 1639 debug sync point wait timed out
 # should be 'signal.after_show_slave_status'
-DEBUG_SYNC='signal.after_show_slave_status'
+DEBUG_SYNC='signal.empty'
 [slave]
 # complete 'STOP SLAVE SQL_THREAD';
 SET DEBUG_SYNC='now SIGNAL signal.continue';

mysqltest: Result content mismatch

Related branches

Oleg Tsarev (tsarev) on 2011-09-15
Changed in percona-server:
assignee: nobody → Oleg Tsarev (tsarev)
status: New → In Progress
tags: added: cr i12952
Oleg Tsarev (tsarev) on 2011-09-16
description: updated

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

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

Other bug subscribers