Project

General

Profile

Actions

Bug #17993

closed

rbd-mirror: potential race mirroring cloned image

Added by Jason Dillaman over 7 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Jason Dillaman
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
jewel, kraken
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

With pool-level replication enabled, when a clone is created, it first creates an empty standalone image and adds it to the mirroring directory. If the remote rbd-mirror daemon detects the new image before the clone process completes, it the replication will fail since it will try to create a non-cloned image on the remote side. This is a very small race potential that was discovered after improving new replicated image discovery.


Related issues 2 (0 open2 closed)

Copied to rbd - Backport #18500: jewel: rbd-mirror: potential race mirroring cloned imageRejectedJason DillamanActions
Copied to rbd - Backport #18501: kraken: rbd-mirror: potential race mirroring cloned imageResolvedNathan CutlerActions
Actions

Also available in: Atom PDF