Project

General

Profile

Actions

Bug #17942

closed

osdc: osdmap update may race with retaking exclusive lock

Added by Sage Weil over 7 years ago. Updated over 7 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.

Actions

Also available in: Atom PDF