]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: make sure min objs per shard is appropriate 58354/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Wed, 3 Jul 2024 19:44:52 +0000 (15:44 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Wed, 3 Jul 2024 19:44:52 +0000 (15:44 -0400)
commit81e2bc1124aa6b78bb222c5ea7cc41925f29a476
tree746ae3ab93f884ab4fe24a6d1608163dcb22b694
parentcf514170fb52ebf926d9912309b3746f19c520c4
rgw: make sure min objs per shard is appropriate

The admin has control over the rgw_max_objs_per_shard configuration
option. Currently the minimum objects per shard is hard-coded. If that
max is lowered then we need to be certain that the minimum is an
appropriate value, certainly less than the max.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
src/rgw/driver/rados/rgw_reshard.cc