Project

General

Profile

Bug #16489

rbd-mirror: potential race condition when restarting image replayer

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

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
06/27/2016
Due date:
% Done:

0%

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

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 about 3 years ago

  • Status changed from In Progress to Need Review

#2 Updated by Mykola Golub about 3 years ago

  • Status changed from Need Review to Pending Backport

#3 Updated by Loic Dachary about 3 years ago

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

#4 Updated by Loic Dachary about 3 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF