]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/librados_test_stub: drop watches only after actually blocklisting
authorIlya Dryomov <idryomov@gmail.com>
Tue, 4 Apr 2023 15:21:16 +0000 (17:21 +0200)
committerChristopher Hoffman <choffman@redhat.com>
Thu, 6 Apr 2023 15:44:31 +0000 (15:44 +0000)
commitecd2cc9369c736803b5efda67d9b40887bea48f6
tree51afb9ecab22ac6df8ea6ccda79fcf17ddf2f690
parent44fddabe1e7dc7ebf7a1b7b89aa402f9ab819a57
test/librados_test_stub: drop watches only after actually blocklisting

Eliminate a race where a client is able to submit an operation after
WatchCtx2::handle_error() is invoked on its watch due to blocklisting.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit a14498eff645e9e154e4d1a3cc436453b8401d89)
src/test/librados_test_stub/TestMemCluster.cc