Project

General

Profile

Actions

Bug #41433

closed

rgw: fix list starts with null marker

Added by Tianshan Qu over 4 years ago. Updated over 3 years ago.

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

0%

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

Description

list with version_id=null, the null will be treated as a "null" version in cls rgw_bucket_list, which cause the list return wrong keys.

for example. have keys
testobj[null]
testobj[xxxyyy]

list with version_id=null, the key encode as "\0x80 testobj \0i null" in encode_list_index_key, find it not exsits, then got start_key=testobj\0x1, will skip all the keys, but should return testobj[xxxyyy] actually.


Related issues 3 (0 open3 closed)

Copied to rgw - Backport #41977: luminous: rgw: fix list starts with null markerRejectedActions
Copied to rgw - Backport #41978: nautilus: rgw: fix list starts with null markerResolvedNathan CutlerActions
Copied to rgw - Backport #41979: mimic: rgw: fix list starts with null markerResolvedNathan CutlerActions
Actions

Also available in: Atom PDF