From: Jason Dillaman Date: Thu, 21 Jul 2016 11:28:54 +0000 (-0400) Subject: rbd-mirror: do not cancel maintenance ops with missing finish events X-Git-Tag: v10.2.3~50^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=96cdb11934e359024c1a2f7cbffd55a5c7f6715b;p=ceph.git rbd-mirror: do not cancel maintenance ops with missing finish events librbd will replay these ops when opening an image, so rbd-mirror should also ensure these ops are replayed. Signed-off-by: Jason Dillaman (cherry picked from commit 862e581553fff510286b58135a1fd69705c06096) --- diff --git a/src/tools/rbd_mirror/ImageReplayer.cc b/src/tools/rbd_mirror/ImageReplayer.cc index c5e81876a64f..6cb7607ef1ce 100644 --- a/src/tools/rbd_mirror/ImageReplayer.cc +++ b/src/tools/rbd_mirror/ImageReplayer.cc @@ -902,7 +902,7 @@ void ImageReplayer::replay_flush() { ImageReplayer, &ImageReplayer::handle_stop_replay_request>(this); m_local_journal->start_external_replay(&m_local_replay, ctx, stop_ctx); }); - m_local_replay->shut_down(true, ctx); + m_local_replay->shut_down(false, ctx); } template