]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
tools/cephfs_mirror: Fix dequeue of syncm on error
authorKotresh HR <khiremat@redhat.com>
Wed, 14 Jan 2026 19:59:36 +0000 (01:29 +0530)
committerKotresh HR <khiremat@redhat.com>
Mon, 16 Feb 2026 19:14:14 +0000 (00:44 +0530)
commitdaff22f2738bb7fdb9136af528ade0ef26ad5cda
tree9e0acf82e8af1aa831ba2e56b9f845b2ab81791d
parent57bd0fd89dcf1ac66117e7294edad13bc519b634
tools/cephfs_mirror: Fix dequeue of syncm on error

On error encountered in crawler thread or datasync
thread while processing a syncm object, it's possible
that multiple datasync threads attempts the dequeue of
syncm object. Though it's safe, add a condition to avoid
it.

Fixes: https://tracker.ceph.com/issues/73452
Signed-off-by: Kotresh HR <khiremat@redhat.com>
src/tools/cephfs_mirror/PeerReplayer.cc
src/tools/cephfs_mirror/PeerReplayer.h