Project

General

Profile

Bug #24211

SharedBlob::put() racy

Added by Sage Weil about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
High
Assignee:
-
Target version:
-
Start date:
05/21/2018
Due date:
% Done:

0%

Source:
Tags:
Backport:
mimic,luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

There is a narrow race possible:

A: lookup foo
A: put on foo
A: foo --nref 0
B: lookup foo
B: put foo
B: foo --nref 0
B: try_remove() succeeds, removes
A: try_remove() tries to remove foo again, probably crashes


Related issues

Related to bluestore - Bug #24715: FAILED assert(0 == "put on missing extent (nothing before)") Duplicate 06/29/2018
Copied to bluestore - Backport #24247: luminous: SharedBlob::put() racy Resolved
Copied to bluestore - Backport #24248: mimic: SharedBlob::put() racy Resolved

History

#1 Updated by Sage Weil about 1 year ago

  • Status changed from Verified to Need Review

#2 Updated by Kefu Chai about 1 year ago

  • Status changed from Need Review to Pending Backport

#4 Updated by Nathan Cutler about 1 year ago

#5 Updated by Nathan Cutler about 1 year ago

#6 Updated by Nathan Cutler about 1 year ago

  • Status changed from Pending Backport to Resolved

#7 Updated by Radoslaw Zarzynski 12 months ago

  • Related to Bug #24715: FAILED assert(0 == "put on missing extent (nothing before)") added

Also available in: Atom PDF