From 96cdb11934e359024c1a2f7cbffd55a5c7f6715b Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Thu, 21 Jul 2016 07:28:54 -0400 Subject: [PATCH] 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) --- src/tools/rbd_mirror/ImageReplayer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/rbd_mirror/ImageReplayer.cc b/src/tools/rbd_mirror/ImageReplayer.cc index c5e81876a64fe..6cb7607ef1ce6 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 -- 2.39.5