]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test/rbd_mirror: race in TestMockLeaderWatcher.AcquireError 14741/head
authorMykola Golub <mgolub@mirantis.com>
Sun, 23 Apr 2017 19:23:45 +0000 (21:23 +0200)
committerMykola Golub <mgolub@mirantis.com>
Sun, 23 Apr 2017 19:42:18 +0000 (21:42 +0200)
commit782bccafe9dbb9ddb2da81846379ba421054ce6a
treede816681246496f08c60b11d92ff98843ea0b546
parent44cd43d57973d392597af1c6f7850693c7a2ef34
test/rbd_mirror: race in TestMockLeaderWatcher.AcquireError

Due to handle_get_locker is executed in async context, shut_down could
start before handle_get_locker.

Fixes: http://tracker.ceph.com/issues/19405
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
src/test/rbd_mirror/test_mock_LeaderWatcher.cc