Project

General

Profile

Bug #12176

librbd/internal.cc: 1967: FAILED assert(watchers.size() == 1)

Added by Jason Dillaman over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
06/26/2015
Due date:
% Done:

0%

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


Related issues

Copied to rbd - Backport #12239: librbd/internal.cc: 1967: FAILED assert(watchers.size() == 1) Resolved 06/26/2015
Copied to rbd - Backport #12240: librbd/internal.cc: 1967: FAILED assert(watchers.size() == 1) Resolved 06/26/2015

Associated revisions

Revision af276de4 (diff)
Added by Jason Dillaman over 3 years ago

librbd: assertion failure race condition if watch disconnected

It's possible for librbd's watch of the header object to be reset by
connection issues just prior to the image being removed. This will
causes an assertion failure which assumes at least one watcher on the
image.

Fixes: #12176
Backport: hammer, firefly
Signed-off-by: Jason Dillaman <>

Revision 3223bd60 (diff)
Added by Jason Dillaman over 3 years ago

librbd: assertion failure race condition if watch disconnected

It's possible for librbd's watch of the header object to be reset by
connection issues just prior to the image being removed. This will
causes an assertion failure which assumes at least one watcher on the
image.

Fixes: #12176
Backport: hammer, firefly
Signed-off-by: Jason Dillaman <>
(cherry picked from commit af276de4f299960e43761904c043924cec5fef11)

Revision 03c07d76 (diff)
Added by Jason Dillaman over 3 years ago

librbd: assertion failure race condition if watch disconnected

It's possible for librbd's watch of the header object to be reset by
connection issues just prior to the image being removed. This will
causes an assertion failure which assumes at least one watcher on the
image.

Fixes: #12176
Backport: hammer, firefly
Signed-off-by: Jason Dillaman <>
(cherry picked from commit af276de4f299960e43761904c043924cec5fef11)

History

#1 Updated by Jason Dillaman over 3 years ago

  • Backport set to hammer,firefly

librados bubbled up the following error:

librbd::ImageWatcher: 0x3bffcc0 image watch failed: 63381088, (110) Connection timed out

#2 Updated by Jason Dillaman over 3 years ago

  • Status changed from In Progress to Need Review

#3 Updated by Jason Dillaman over 3 years ago

  • Status changed from Need Review to Pending Backport

#4 Updated by Nathan Cutler over 3 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF