]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rbd-mirror: move resetting of snapshot replayer rescan variable
authorJason Dillaman <dillaman@redhat.com>
Mon, 2 Mar 2020 20:34:22 +0000 (15:34 -0500)
committerJason Dillaman <dillaman@redhat.com>
Mon, 2 Mar 2020 20:34:22 +0000 (15:34 -0500)
commit725d96320791e866f42b002176946997e548a0da
treef7f3d052701cc349432d990cb3d8fba10a0fa062
parentb4a830a23a6b7ca9d49bc7bbab7992dad3175f34
rbd-mirror: move resetting of snapshot replayer rescan variable

The `m_image_updated` boolean should be reset at the start of the
state checking loop now that we scan the local image meta and check
for forced-promotion of the local image.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/tools/rbd_mirror/image_replayer/snapshot/Replayer.cc