swift/doc
Alistair Coles f7fd99a880 Use ContainerSharderConf class in sharder and manage-shard-ranges
Change the swift-manage-shard-ranges default expansion-limit to equal
the sharder daemon default merge_size i.e 750000. The previous default
of 500000 had erroneously differed from the sharder default value.

Introduce a ContainerSharderConf class to encapsulate loading of
sharder conf and the definition of defaults. ContainerSharder inherits
this and swift-manage-shard-ranges instantiates it.

Rename ContainerSharder member vars to match the equivalent vars and
cli options in manage_shard_ranges:

  shrink_size -> shrink_threshold
  merge_size -> expansion_limit
  split_size -> rows_per_shard

(This direction of renaming is chosen so that the manage_shard_ranges
cli options are not changed.)

Rename ContainerSharder member vars to match the conf file option name:
  scanner_batch_size -> shard_scanner_batch_size

Remove some ContainerSharder member vars that were not used outside of
the __init__ method:

  shrink_merge_point
  shard_shrink_point

Change-Id: I8a58a82c08ac3abaddb43c11d26fda9fb45fe6c1
2021-05-20 20:59:56 +01:00
..
manpages proxy-logging: add fields ttfb and pid 2020-01-27 15:54:52 -05:00
s3api s3api: Implement object versioning API 2020-01-28 14:00:08 -08:00
saio s3api: Allow CORS preflight requests 2021-03-15 13:52:05 -07:00
source Use ContainerSharderConf class in sharder and manage-shard-ranges 2021-05-20 20:59:56 +01:00
requirements.txt Switch to newer openstackdocstheme and reno versions 2020-06-03 08:31:04 +02:00