Skip to content

Commit

Permalink
Merge pull request #42978 from idryomov/wip-52063-octopus
Browse files Browse the repository at this point in the history
octopus: rbd-mirror: fix potential async op tracker leak in start_image_replayers

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
  • Loading branch information
yuriw committed Sep 8, 2021
2 parents 6f082cd + 1802016 commit 6832e93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tools/rbd_mirror/InstanceReplayer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@ void InstanceReplayer<I>::start_image_replayers(int r) {

std::lock_guard locker{m_lock};
if (m_on_shut_down != nullptr) {
m_async_op_tracker.finish_op();
return;
}

Expand Down

0 comments on commit 6832e93

Please sign in to comment.