]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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>
Sun, 22 Feb 2026 18:56:35 +0000 (00:26 +0530)
commitb02cc6ed30de53ac797038624fed5f9b4c4d610d
tree5f75fee48142a1902b034f054bc7d16306f2e5ab
parentb1c5ec04a1268f52f4de419ab0cb2dc67300fd53
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