]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix 'gc list --include-all' command infinite loop the first 1000 items 12774/head
authorlu.shasha <lu.shasha@eisoo.com>
Thu, 5 Jan 2017 03:50:42 +0000 (11:50 +0800)
committerlu.shasha <lu.shasha@eisoo.com>
Fri, 19 May 2017 00:43:12 +0000 (08:43 +0800)
commitfc29f52ebca63104a05515484088ff136dfb0b15
tree2c8ce79246e31ae732c29228b0a8626b991cc61c
parent543886405d58c028b70510a7f687f0bf71ab3937
rgw: fix 'gc list --include-all' command infinite loop the first 1000 items

When the items to gc over 1000, 'gc list --include-all' command will infinite loop the first 1000 items.
Add next_marker to move to the next 1000 items.

Fixes: http://tracker.ceph.com/issues/19978
Signed-off-by: fang yuxiang <fang.yuxiang@eisoo.com>
Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
src/cls/rgw/cls_rgw.cc
src/cls/rgw/cls_rgw_client.cc
src/cls/rgw/cls_rgw_client.h
src/cls/rgw/cls_rgw_ops.cc
src/cls/rgw/cls_rgw_ops.h
src/rgw/rgw_gc.cc
src/test/cls_rgw/test_cls_rgw.cc