]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix bug where bucket listing end marker not always set correctly 34993/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Tue, 10 Mar 2020 17:47:43 +0000 (13:47 -0400)
committerNathan Cutler <ncutler@suse.com>
Mon, 11 May 2020 15:55:30 +0000 (17:55 +0200)
commit88ecfc12b7c32637b3e5cf83f978c30decd4806b
treef1ceca30cb88b28bfe43ead328956c8771b289f3
parentd92ab7040fa49c5434e8fc44968f7395521b27ca
rgw: fix bug where bucket listing end marker not always set correctly

Due to using std::move a second time, often
RGWRados::cls_bucket_list_ordered would not set its end marker
correctly. This affected the behavior of
RGWRados::Bucket::List::list_objects_ordered, and might have caused it
return fewer elements than it may have otherwise.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit 76043e00851be0b131448a7a2ab4fed2c22426fe)
src/rgw/rgw_rados.cc