]> 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>
Sat, 21 Feb 2026 10:36:31 +0000 (16:06 +0530)
committerKotresh HR <khiremat@redhat.com>
Sat, 21 Feb 2026 12:07:42 +0000 (17:37 +0530)
commit3d1ceff1f9d765e9031f9ae931693e0e09bb0aea
treec368e71773dc8b5873645eaea70591d260665a84
parent46619f386bc7eb05f498d0767f5a8c854c24a59c
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