Project

General

Profile

Bug #24211

SharedBlob::put() racy

Added by Sage Weil 10 months ago. Updated 9 months 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 10 months ago

  • Status changed from Verified to Need Review

#2 Updated by Kefu Chai 10 months ago

  • Status changed from Need Review to Pending Backport

#4 Updated by Nathan Cutler 10 months ago

#5 Updated by Nathan Cutler 10 months ago

#6 Updated by Nathan Cutler 9 months ago

  • Status changed from Pending Backport to Resolved

#7 Updated by Radoslaw Zarzynski 7 months ago

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

Also available in: Atom PDF