]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: periodically poll image replayer status
authorJason Dillaman <dillaman@redhat.com>
Thu, 2 Apr 2020 18:50:37 +0000 (14:50 -0400)
committerNathan Cutler <ncutler@suse.com>
Tue, 28 Apr 2020 17:52:06 +0000 (19:52 +0200)
commit286e21555e162717a91859d7b88a1afa8bbe63eb
tree6a2c10ca4102eb4c8a4c6ebda4d7558bb8d5cef6
parent9101d4e8c9f8fd1f07ffda9d90ee6d7159f8ac92
rbd-mirror: periodically poll image replayer status

When metrics are incorporated, there might not be a forced status update
if no new data is available to replicate. However, we will want the metrics
to decrease over time.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 133cce8af50653d147d7147fc4bc7269ad10b5e1)
src/tools/rbd_mirror/ImageReplayer.cc
src/tools/rbd_mirror/ImageReplayer.h