]> git.apps.os.sepia.ceph.com Git - ceph-ci.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)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 6 Apr 2023 15:08:04 +0000 (17:08 +0200)
commitb88e01372b50e4a47ea4aa50690efccee6d062ae
tree009fd545413d49f5e84ba4de007bad4d78f26ecb
parentfd00b6fa4bfb7ad6f08ac42aba7d28c5e4501277
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