Project

General

Profile

Actions

Bug #11342

closed

librbd notification race condition on snap_create

Added by Jason Dillaman about 9 years ago. Updated almost 9 years ago.

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

0%

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

Description

It's possible for the call to snap_create to complete before a notification is sent indicating that the header has been updated. This only occurs when the snap_create call is proxied to an exclusive lock owner. This is resulting in very sporadic failures of 'TestLibRBD.SnapCreateViaLockOwner'.

[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from TestLibRBD
[ RUN      ] TestLibRBD.SnapCreateViaLockOwner
using new format!
test/librbd/test_librbd.cc:2453: Failure
Value of: image2.snap_exists("snap1")
  Actual: false
Expected: true
Actions #2

Updated by Jason Dillaman about 9 years ago

  • Status changed from In Progress to Pending Backport
Actions #4

Updated by Loïc Dachary almost 9 years ago

  • Status changed from Pending Backport to Resolved
  • Regression set to No
Actions

Also available in: Atom PDF