]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: increase max shard prime, consolidate logic
authorYehuda Sadeh <yehuda@redhat.com>
Fri, 2 Jun 2017 00:21:07 +0000 (17:21 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Mon, 5 Jun 2017 20:18:03 +0000 (13:18 -0700)
commit93106dac32dd00e57bf35533f18c6339e8771831
treed01010fe528044b98b276bee64bfab4be2a21df0
parentba1138d7a8556e11dc8c9c6f3e80f19a1c25ff3a
rgw: increase max shard prime, consolidate logic

Handle larger num of shards (max ~64k now). Use the same hash logic for shard ids
everywhere.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_gc.cc
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h