Project

General

Profile

Bug #16489

rbd-mirror: potential race condition when restarting image replayer

Added by Jason Dillaman over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

"ImageReplayer::handle_shut_down" advances the state machine before closing the local and remote IoCtxs. If "Replayer" detects that the "ImageReplayer" isn't running, it will restart it and potentially concurrently race with "ImageReplayer::start" re-creating the IoCtxs.


Related issues

Copied to rbd - Backport #16512: jewel: rbd-mirror: potential race condition when restarting image replayer Resolved

History

#1 Updated by Jason Dillaman over 3 years ago

  • Status changed from In Progress to Fix Under Review

#2 Updated by Mykola Golub over 3 years ago

  • Status changed from Fix Under Review to Pending Backport

#3 Updated by Loic Dachary over 3 years ago

  • Copied to Backport #16512: jewel: rbd-mirror: potential race condition when restarting image replayer added

#4 Updated by Loic Dachary over 3 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF