Bug #53705
closedrgw: in bucket reshard list, clarify new num shards is tentative
100%
Description
With dynamic bucket index resharding, when the average number of
objects per shard exceeds the configured value, that bucket is
scheduled for reshard. That bucket may receive more new objects before
the resharding takes place. As a result, the existing code
re-calculates the number of new shards just prior to resharding,
rather than waste a resharding opportunity with too low a value.
The same holds true for a user-scheduled resharding.
A user reported confusion that the number reported in radosgw-admin reshard list wasn't the number that the reshard operation ultimately
used. This commit makes it clear that the new number of shards is
"tentative".
Additionally this commit adds some modernization and efficiency to the
"reshard list" subcommand.