Project

General

Profile

Actions

Bug #39021

closed

Several race conditions are possible between io::ObjectRequest and io::CopyupRequest

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

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

0%

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

Description

The snap/parent locks are inconsistently held in numerous locations which could result in a race between IO execution and an image refresh. Additionally, nothing is currently preventing two copyup requests from executing concurrently once the parent image has been read (and it's removed from the in-flight copyup list).


Related issues 3 (0 open3 closed)

Copied to rbd - Backport #39194: luminous: Several race conditions are possible between io::ObjectRequest and io::CopyupRequestRejectedJason DillamanActions
Copied to rbd - Backport #39195: nautilus: Several race conditions are possible between io::ObjectRequest and io::CopyupRequestResolvedJason DillamanActions
Copied to rbd - Backport #39196: mimic: Several race conditions are possible between io::ObjectRequest and io::CopyupRequestRejectedJason DillamanActions
Actions #1

Updated by Jason Dillaman about 5 years ago

  • Status changed from New to In Progress
  • Assignee set to Jason Dillaman
Actions #2

Updated by Mykola Golub about 5 years ago

  • Status changed from In Progress to Pending Backport
  • Pull request ID set to 27357
Actions #3

Updated by Nathan Cutler about 5 years ago

  • Copied to Backport #39194: luminous: Several race conditions are possible between io::ObjectRequest and io::CopyupRequest added
Actions #4

Updated by Nathan Cutler about 5 years ago

  • Copied to Backport #39195: nautilus: Several race conditions are possible between io::ObjectRequest and io::CopyupRequest added
Actions #5

Updated by Nathan Cutler about 5 years ago

  • Copied to Backport #39196: mimic: Several race conditions are possible between io::ObjectRequest and io::CopyupRequest added
Actions #6

Updated by Jason Dillaman almost 5 years ago

Actions #7

Updated by Nathan Cutler about 3 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF