]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
neorados: Avoid double cleanup in watch/notify
authorAdam C. Emerson <aemerson@redhat.com>
Wed, 26 Nov 2025 05:59:13 +0000 (00:59 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Thu, 14 May 2026 23:17:47 +0000 (19:17 -0400)
commit46b5aca9d97edf8aff33f98e88fe1b1b32a71d55
tree539e849f352c7eeea389ac06cc184f8c77a1f9c7
parentcae1780b9045db7f2f8b6b5c766e86d89ffd3af4
neorados: Avoid double cleanup in watch/notify

An error coming in after `maybe_cleanup()` is called could trigger it
again. Add a flag to prevent that.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit d4ee87e985a6f2234050fd85d31564b7776bf1e6)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/neorados/RADOS.cc