]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix cls_bucket_head result order consistency 26546/head
authorTianshan Qu <tianshan@xsky.com>
Fri, 3 Nov 2017 07:53:41 +0000 (15:53 +0800)
committerCasey Bodley <cbodley@redhat.com>
Wed, 20 Feb 2019 17:14:29 +0000 (12:14 -0500)
commitaa5113e1700f1aba27e20520b0f49c513b41f74c
treed21ff18ab08fc7f62dd252981e689c8a61e6cf11
parenta2f258ef72d738c8185926b5d5776f71a92de088
rgw: fix cls_bucket_head result order consistency

headers's key is string but bucket_instance_ids's key is int
looked around and found no one use header's key, so change
header from map to vector

Signed-off-by: Tianshan Qu <tianshan@xsky.com>
(cherry picked from commit 46657a0f72530f50f1c94374a27edb57deb70de0)

Conflicts:
src/rgw/rgw_rados.h: unordered bucket listing
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h