]> 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)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 4 Apr 2023 15:58:36 +0000 (17:58 +0200)
commita14498eff645e9e154e4d1a3cc436453b8401d89
tree8d3b7025b5e27ac4bdafab8abd12f517bd39203a
parent0dfe87d3b6ed52cee6f6660b42af42a8dd7708bb
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>
src/test/librados_test_stub/TestMemCluster.cc