]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tools/cephfs_mirror: Handle errors in crawler thread
authorKotresh HR <khiremat@redhat.com>
Sat, 21 Feb 2026 10:27:42 +0000 (15:57 +0530)
committerKotresh HR <khiremat@redhat.com>
Sun, 22 Feb 2026 18:56:35 +0000 (00:26 +0530)
commitb1c5ec04a1268f52f4de419ab0cb2dc67300fd53
treed75ee5e24fd812b0fc217af544e9d0db9de1cc88
parent9d0ee76fb42ba2f7d0199fd71807668dd000b8a6
tools/cephfs_mirror: Handle errors in crawler thread

Any error encountered in crawler threads should be
communicated to the data sync threads by marking the
crawl error in the corresponding syncm object. The
data sync threads would finish pending jobs, dequeue
the syncm object and notify crawler to bail out.

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