Merge "Change default sharding threshold to 1,000,000 objects"

This commit is contained in:
Zuul 2018-05-29 21:28:46 +00:00 committed by Gerrit Code Review
commit 60d684d798
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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',