Project

General

Profile

Bug #1030

osd: list pool/bucket contents excludes missing objects

Added by Sage Weil over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OSD
Target version:
% Done:

0%

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

Description

listing pool contents only lists objects stored locally, which excludes anything missing on the primary.

we could include missing in the pgls results, but it's hard to do that in a non-racy way without either missing entries or potentially duplicating them.

Associated revisions

Revision a6417c6a (diff)
Added by Sage Weil over 9 years ago

objecter: set pgls start_epoch field

For each pg, start out with start_epoch = 0 in the first request. For
subsequent requests, set it to the first reply's epoch. This forces the
OSD to ignore our cookie and "restart" if the pg mapping changes and there
is a possibility of incomplete results.

The price we pay is the possibility of duplicate results.

Fixes: #1030
Signed-off-by: Sage Weil <>

History

#1 Updated by Sage Weil over 9 years ago

  • translation missing: en.field_position set to 637

#2 Updated by Sage Weil over 9 years ago

  • translation missing: en.field_position deleted (637)
  • translation missing: en.field_position set to 24

#3 Updated by Sage Weil over 9 years ago

  • translation missing: en.field_story_points set to 5
  • translation missing: en.field_position deleted (24)
  • translation missing: en.field_position set to 24

#4 Updated by Sage Weil over 9 years ago

  • Target version changed from v0.28 to v0.29

#5 Updated by Sage Weil over 9 years ago

  • Assignee set to Sage Weil

#6 Updated by Sage Weil over 9 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF