]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix lc list failure when shards not be all created 15025/head
authorJiaying Ren <jiaying.ren@umcloud.com>
Wed, 10 May 2017 06:58:27 +0000 (14:58 +0800)
committerJiaying Ren <jiaying.ren@umcloud.com>
Thu, 11 May 2017 06:03:14 +0000 (14:03 +0800)
commit18eb21fa509fd42aeed6869737e1a06e09d1bda0
tree8a2ce1ed0ecef8b14253eaef319e86f2cf68eb92
parentbfcd2fffe19fdb656fd5535ee4134b0085e075db
rgw: fix lc list failure when shards not be all created

Default lc shard is 32, if we had created few lc config,that all been
sharded to lc.31, then `radosgw-admin lc list` failed by can't find
lc.0.

Fixes: http://tracker.ceph.com/issues/19898
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
src/rgw/rgw_lc.cc