]> 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 20:12:39 +0000 (01:42 +0530)
commite378cdb836fbbde646af7cfba324162125ffe53b
treee2e2f9a531a22d05ada45d865076f8fb15b52159
parent46bba4c7a924df6bc307dfba9db5072a6bf3d5f9
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