We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 92ef6ae + c605140 commit c8d3efbCopy full SHA for c8d3efb
src/tools/rbd_mirror/ImageReplayer.cc
@@ -719,10 +719,12 @@ void ImageReplayer<I>::handle_update_mirror_image_replay_status(int r) {
719
auto ctx = new LambdaContext([this](int) {
720
update_mirror_image_status(false, boost::none);
721
722
- std::unique_lock locker{m_lock};
723
- std::unique_lock timer_locker{m_threads->timer_lock};
+ {
+ std::unique_lock locker{m_lock};
724
+ std::unique_lock timer_locker{m_threads->timer_lock};
725
- schedule_update_mirror_image_replay_status();
726
+ schedule_update_mirror_image_replay_status();
727
+ }
728
m_in_flight_op_tracker.finish_op();
729
});
730
0 commit comments