]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd-mirror: reset local image id when creating new image 9673/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 13 Jun 2016 06:09:00 +0000 (02:09 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 13 Jun 2016 16:38:44 +0000 (12:38 -0400)
Fixes: http://tracker.ceph.com/issues/16253
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 1948047acbc129de2982d53e130da1f577af224b)

src/tools/rbd_mirror/image_replayer/BootstrapRequest.cc

index a3ab50d93280c8b41cb4db831683ad9f2a86df70..57f0705014ff65b22282db5acc3aba2f6186b68e 100644 (file)
@@ -357,6 +357,7 @@ template <typename I>
 void BootstrapRequest<I>::create_local_image() {
   dout(20) << dendl;
 
+  m_local_image_id = "";
   update_progress("CREATE_LOCAL_IMAGE");
 
   Context *ctx = create_context_callback<