]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: add radosgw-admin sub-command to set-min-shards for a bucket
authorJ. Eric Ivancich <ivancich@redhat.com>
Tue, 4 Feb 2025 03:01:47 +0000 (22:01 -0500)
committerJ. Eric Ivancich <ivancich@redhat.com>
Fri, 28 Feb 2025 19:36:12 +0000 (14:36 -0500)
commitf8571d9cf9a5f0b45b62f8d309b05bf96111c498
treeb4051adbb34000984ffd38f24e7edcc0c4996e43
parent5ee4a92380ee351dec501b09e251cb9c86d023f8
rgw: add radosgw-admin sub-command to set-min-shards for a bucket

There is now a mechansim to set the minimum number of shards when a
bucket is created, and dynamic resharding adheres to that
setting. This adds the ability to modify that minimum shard count that
exists within the bucket layout of the bucket instance
object. Example:

    radosgw-admin bucket set-min-shards --bucket=<bucket> \
        --num-shards=<value>

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
src/rgw/radosgw-admin/radosgw-admin.cc
src/rgw/rgw_sal.h
src/test/cli/radosgw-admin/help.t