]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: allow bootstrap to populate remote image id
authorJason Dillaman <dillaman@redhat.com>
Mon, 6 Jan 2020 20:22:52 +0000 (15:22 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 9 Jan 2020 15:48:52 +0000 (10:48 -0500)
commit72e98b4a361345d63648d27ff79f42cc7bd328b4
treee20deba51ecc8cc9a84deaeedda6cb409600aefe
parent4392dab26d7aad0a90c134fd21e2189a7e50584b
rbd-mirror: allow bootstrap to populate remote image id

The remote image id is used as a sanity check and a test for
permanently shutting down the replayer after the remote image is
deleted. Recent refactor work broke this by passing the remote
image id by value.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/test/rbd_mirror/image_replayer/test_mock_BootstrapRequest.cc
src/test/rbd_mirror/test_mock_ImageReplayer.cc
src/tools/rbd_mirror/ImageReplayer.cc
src/tools/rbd_mirror/image_replayer/BootstrapRequest.cc
src/tools/rbd_mirror/image_replayer/BootstrapRequest.h