]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: check for resync request during snapshot prepare state machine
authorJason Dillaman <dillaman@redhat.com>
Sat, 22 Feb 2020 17:42:28 +0000 (12:42 -0500)
committerJason Dillaman <dillaman@redhat.com>
Wed, 26 Feb 2020 13:18:29 +0000 (08:18 -0500)
commit691dcdd2b992420874eebf803eda8afc4e5ef028
tree9b8cdf21f8959d6534b024492e794a0528f824bb
parent9a8eb871e05b0f68d2cfa5c6b6bc0a85623aa250
rbd-mirror: check for resync request during snapshot prepare state machine

Before attempting to start the image replayer for snapshot-based mirroring,
check to ensure that a resync hasn't already been requested.

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