Skip to content

Commit f6bc276

Browse files
cbodleymattbenjamin
authored andcommitted
rgw/rados: Object::list_parts() starts after marker
Signed-off-by: Casey Bodley <[email protected]>
1 parent cbcf0e3 commit f6bc276

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rgw/driver/rados/rgw_sal_rados.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2505,12 +2505,12 @@ int RadosObject::list_parts(const DoutPrefixProvider* dpp, CephContext* cct,
25052505
"{} seeking to part #{} in the object manifest",
25062506
__func__, marker);
25072507

2508-
part_iter = manifest->obj_find_part(dpp, marker);
2508+
part_iter = manifest->obj_find_part(dpp, marker + 1);
25092509

25102510
if (part_iter == end) {
25112511
ldpp_dout_fmt(dpp, 5,
25122512
"{} failed to find part #{} in the object manifest",
2513-
__func__, marker);
2513+
__func__, marker + 1);
25142514
return 0;
25152515
}
25162516
}

0 commit comments

Comments
 (0)