Project

General

Profile

Bug #17942

osdc: osdmap update may race with retaking exclusive lock

Added by Sage Weil about 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
% Done:

0%

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

Description

In _op_submit, we drop the shared lock and take the exclusive lock if we have to open a new session. The osdmap may have updated while we did that, rendering our target obsolete.

See https://github.com/ceph/ceph/pull/11851 for an incomplete hammer fix.

History

#1 Updated by Sage Weil about 6 years ago

  • Status changed from New to Fix Under Review

#3 Updated by Samuel Just about 6 years ago

  • Assignee set to Sage Weil

#5 Updated by Sage Weil about 6 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF