]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix list bucket with start maker and delimiter '/' will miss next object with...
authorTianshan Qu <tianshan@xsky.com>
Tue, 21 May 2019 10:50:06 +0000 (18:50 +0800)
committerNathan Cutler <ncutler@suse.com>
Fri, 12 Jul 2019 15:01:42 +0000 (17:01 +0200)
commitf828652f49f5b2057a9a46a9dab732b252ba0309
tree6aca6b4e0cac3be993ee558b263747dd861af666
parent9445adea15167ae2d16ab3ae13c630213f585688
rgw: fix list bucket with start maker and delimiter '/' will miss next object with char '0'

'/' + 1 = '0', and the start marker will be skipped, so it will miss the
'0' object.

Fixes: http://tracker.ceph.com/issues/39989
Signed-off-by: Tianshan Qu <tianshan@xsky.com>
(cherry picked from commit 43b5264c7d61ae3be56d68f131b544edee307a46)

Conflicts:
src/rgw/rgw_rados.cc
- mimic does not have "unsigned" in the line "unsigned char e = delim.back();"
src/rgw/rgw_rados.cc