]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephfs-mirror: restart failed/blocklisted replayer instances 53639/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:07:14 +0000 (12:37 +0530)
commit6696a3edaf5942608513fa51987495ce43769ea7
treec646cbc260084e8ffb3fdea272b68648a76ec983
parent93b0249d8b4360989707ee6f00ceacfc733a4917
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