]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: attempt to recover lost image watcher upon all failures
authorJason Dillaman <dillaman@redhat.com>
Thu, 30 Aug 2018 20:51:10 +0000 (16:51 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 19 Sep 2018 18:52:48 +0000 (14:52 -0400)
commit23b7447f6be87a14f84664f29431d2fdd2af4512
tree11637f8d3f8ac3469537b8ec837ccbb6ba713472
parent41c67ab1be89b6295d901b30841afc053542e353
librbd: attempt to recover lost image watcher upon all failures

For example, if an image is blacklisted and the blacklist eventually
expires, the image should recover its watch.

Fixes: http://tracker.ceph.com/issues/34534
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/Watcher.cc
src/librbd/watcher/RewatchRequest.cc
src/test/librbd/CMakeLists.txt
src/test/librbd/test_mock_ObjectWatcher.cc [deleted file]
src/test/librbd/test_mock_Watcher.cc [new file with mode: 0644]
src/test/librbd/watcher/test_mock_RewatchRequest.cc