]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
tools/cephfs_mirror: Handle error in datasync thread
authorKotresh HR <khiremat@redhat.com>
Sat, 21 Feb 2026 10:18:56 +0000 (15:48 +0530)
committerKotresh HR <khiremat@redhat.com>
Sat, 21 Feb 2026 12:07:15 +0000 (17:37 +0530)
commitc2832a52e822c45835fed39a70c01b3f47f91cce
tree7ff40da3455479845d7c4de1b515fe4693a694ef
parent8d2a0a36d0d13ffd8332db73dc62e7fd3c4687b9
tools/cephfs_mirror: Handle error in datasync thread

On any error encountered in datasync threads while syncing
a particular syncm dataq, mark the datasync error and
communicate the error to the corresponding syncm's crawler
which is waiting to take a snaphsot. The crawler will log
the error and 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