Change default sharding threshold to 1,000,000 objects
...instead of 10,000,000. The sample configs were already using one million, all of our testing with non-SAIO containers was done with one million, and the resulting container DBs were around 100MB which seems like a comfortable size. Pretty sure this was just a typo during some code cleanup. Change-Id: Icd31f9d8efaac2d5dc0f021cad550687859558b9
This commit is contained in:
parent
4518d95b6f
commit
773b633118
@ -287,7 +287,7 @@ class CleavingContext(object):
|
||||
self.max_row == self.cleave_to_row))
|
||||
|
||||
|
||||
DEFAULT_SHARD_CONTAINER_THRESHOLD = 10000000
|
||||
DEFAULT_SHARD_CONTAINER_THRESHOLD = 1000000
|
||||
DEFAULT_SHARD_SHRINK_POINT = 25
|
||||
DEFAULT_SHARD_MERGE_POINT = 75
|
||||
|
||||
|
@ -135,8 +135,8 @@ class TestSharder(BaseTestSharder):
|
||||
'reclaim_age': 86400 * 7,
|
||||
'shard_shrink_point': 0.25,
|
||||
'shrink_merge_point': 0.75,
|
||||
'shard_container_threshold': 10000000,
|
||||
'split_size': 5000000,
|
||||
'shard_container_threshold': 1000000,
|
||||
'split_size': 500000,
|
||||
'cleave_batch_size': 2,
|
||||
'scanner_batch_size': 10,
|
||||
'rcache': '/var/cache/swift/container.recon',
|
||||
|
Loading…
x
Reference in New Issue
Block a user