]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephfs-mirror: restart failed/blocklisted replayer instances 53640/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:12:55 +0000 (12:42 +0530)
commit6fc530dc42e3fed1396d8bf9979d89364e2b2b76
tree5be93dbad0fb78142135945cb8e35c9a3db7f5cc
parent679a2e36cb0aac737203323f0a999b6b67ec1eb1
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