]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: image create should lookup local parent snapshot id
authorJason Dillaman <dillaman@redhat.com>
Tue, 15 May 2018 18:07:35 +0000 (14:07 -0400)
committerJason Dillaman <dillaman@redhat.com>
Sat, 19 May 2018 12:17:06 +0000 (08:17 -0400)
commit294c7e06d935be442555776e4027e31a12b8021d
treed5918428251fb28688908cf2c3ac797accce4565
parent4cd7b67aaad9d09c99f7bfc2cf9a33093327d3f9
rbd-mirror: image create should lookup local parent snapshot id

A recent code change associated with a librbd cleanup incorrectly started
using the remote parent image's snapshot id.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 02afa2a5b41074c651e62a5475ed4828df982ed4)
src/test/rbd_mirror/image_replayer/test_mock_CreateImageRequest.cc
src/tools/rbd_mirror/image_replayer/CreateImageRequest.cc