]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: properly handle cleaning up of listings
authorGreg Farnum <gregory.farnum@dreamhost.com>
Wed, 19 Oct 2011 23:24:40 +0000 (16:24 -0700)
committerGreg Farnum <gregory.farnum@dreamhost.com>
Thu, 20 Oct 2011 00:46:43 +0000 (17:46 -0700)
commita71455c8cddd0b59e6af5080c12fe33871216b86
treeb7814ac7eb70565f85bf361fd3f80dc02ad586e1
parent6dc0da4c0f0e0ce39829de54b906c6ccf25a986a
rgw: properly handle cleaning up of listings

If a listing you get back from the OSD consists only of
non-existent entries, you still need to handle it and resume the
listing from after those entries, or you get stuck in an infinite
request loop. Handle this by pushing down the last entry handling.

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h