]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: RGWPeriod stores sync_status as vector of strings
authorCasey Bodley <cbodley@redhat.com>
Fri, 30 Oct 2015 16:18:59 +0000 (12:18 -0400)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 12 Feb 2016 00:13:25 +0000 (16:13 -0800)
commit31913902c616551f84bdf0aafe71ed98ff1e2d14
tree072d23f9a96cde5b9ffc74a232b2df67e26db4c7
parent99ef6fc58d90cdf17b814202673054b6f6e87843
rgw: RGWPeriod stores sync_status as vector of strings

rgw_meta_sync_status keeps the shards in a std::map, but a std::vector
is more appropriate when all keys are present. the period also doesn't
need to store the full/incremental status in rgw_meta_sync_marker

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h