]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephfs-mirror: restart failed/blocklisted replayer instances 53638/head
authorVenky Shankar <vshankar@redhat.com>
Wed, 2 Aug 2023 05:39:00 +0000 (01:39 -0400)
committerVenky Shankar <vshankar@redhat.com>
Mon, 25 Sep 2023 07:03:03 +0000 (12:33 +0530)
commitf54125677d9c8490f8d9104ca6e153cbe3187666
treecd8b714a886347523ea993a7edf58f49142bed1f
parent208ad8d22fcd5e7da3a6f67205cd3f0ba7eb62fb
cephfs-mirror: restart failed/blocklisted replayer instances

This was buggy right from the start. Start maintaining per replayer
blocklisted or failed timestamp and use that to check if a replayer
restart is required.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit f2fb84ddd25ac66ca1e79339801913b35b597e83)
src/tools/cephfs_mirror/FSMirror.h
src/tools/cephfs_mirror/InstanceWatcher.cc
src/tools/cephfs_mirror/InstanceWatcher.h
src/tools/cephfs_mirror/Mirror.cc
src/tools/cephfs_mirror/Mirror.h
src/tools/cephfs_mirror/MirrorWatcher.cc
src/tools/cephfs_mirror/MirrorWatcher.h