Project

General

Profile

Bug #19970

Reduce the potential for erroneous blacklisting due to release lock race

Added by Jason Dillaman 6 months ago. Updated 6 months 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:
Release:
Needs Doc:
No

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 6 months ago

  • Status changed from In Progress to Need Review

#2 Updated by Mykola Golub 6 months ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF