Project

General

Profile

Actions

Bug #19970

closed

Reduce the potential for erroneous blacklisting due to release lock race

Added by Jason Dillaman almost 7 years ago. Updated almost 7 years ago.

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

0%

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

Description

There is a potential race when a client attempts to acquire the exclusive lock. If the current lock owner closes the image (and releases the lock) between the time the new client lists the lock owner and lists the current watchers, the new lock owner can incorrectly blacklist the original owner that just released the lock. This situation can be detected randomly during the rbd-mirror integration test occationally.

Actions #1

Updated by Jason Dillaman almost 7 years ago

  • Status changed from In Progress to Fix Under Review
Actions #2

Updated by Mykola Golub almost 7 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF