Project

General

Profile

Bug #19970

Reduce the potential for erroneous blacklisting due to release lock race

Added by Jason Dillaman over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
05/17/2017
Due date:
% Done:

0%

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

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.

History

#1 Updated by Jason Dillaman over 1 year ago

  • Status changed from In Progress to Need Review

#2 Updated by Mykola Golub over 1 year ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF