]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.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>
Sat, 21 Feb 2026 12:07:29 +0000 (17:37 +0530)
commit46619f386bc7eb05f498d0767f5a8c854c24a59c
tree41e2df8ef4f62944930b01ce11cd0b61fffd3d84
parentc2832a52e822c45835fed39a70c01b3f47f91cce
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