Project

General

Profile

Bug #5183

occasional failure of rbd DiffIterateStress test

Added by Sage Weil almost 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
OSD
Target version:
-
% Done:

0%

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

Description

wip-osd-obc-snapdir

Associated revisions

Revision 29e4e7e3 (diff)
Added by Sage Weil almost 11 years ago

osd: do not assume head obc object exists when getting snapdir

For a list-snaps operation on the snapdir, do not assume that the obc for the
head means the object exists. This fixes a race between a head deletion and
a list-snaps that wrongly returns ENOENT, triggered by the DiffItersateStress
test when thrashing OSDs.

Fixes: #5183
Backport: cuttlefish
Signed-off-by: Sage Weil <>
Reviewed-by: Samuel Just <>

Revision 02ef6e91 (diff)
Added by Sage Weil almost 11 years ago

osd: do not assume head obc object exists when getting snapdir

For a list-snaps operation on the snapdir, do not assume that the obc for the
head means the object exists. This fixes a race between a head deletion and
a list-snaps that wrongly returns ENOENT, triggered by the DiffItersateStress
test when thrashing OSDs.

Fixes: #5183
Backport: cuttlefish
Signed-off-by: Sage Weil <>
Reviewed-by: Samuel Just <>
(cherry picked from commit 29e4e7e316fe3f3028e6930bb5987cfe3a5e59ab)

History

#1 Updated by Ian Colle almost 11 years ago

  • Assignee set to Samuel Just

#2 Updated by Samuel Just almost 11 years ago

Looks good.

#3 Updated by Sage Weil almost 11 years ago

  • Status changed from Fix Under Review to Pending Backport

#4 Updated by Sage Weil almost 11 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF