Project

General

Profile

Bug #19018

rgw_file: fix marker computation

Added by Matt Benjamin 10 months ago. Updated 4 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
02/20/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
jewel kraken
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Needs Doc:
No

Description

The underlying type of RGWFileHandle::Directory::marker_cache (dirent_string) was not correct for storing object markers, which have type rgw_obj_key. Since an rgw_obj_key can represent a string via {name=s, instance=""}, just store a flat mapping of uint64_t->rgw_obj_key.

Secondarily, always use the value of next_marker as the marker (works for RGWListBuckets and RGWListBucket).


Related issues

Copied to rgw - Backport #19161: jewel: rgw_file: fix marker computation Resolved
Copied to rgw - Backport #19162: kraken: rgw_file: fix marker computation Resolved

History

#1 Updated by Matt Benjamin 10 months ago

  • Status changed from In Progress to Pending Backport

#2 Updated by Matt Benjamin 10 months ago

  • Backport changed from jewel to jewel kraken

#3 Updated by Nathan Cutler 9 months ago

#4 Updated by Nathan Cutler 9 months ago

  • Copied to Backport #19162: kraken: rgw_file: fix marker computation added

#5 Updated by Nathan Cutler 4 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF