Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
os/filestore/HashIndex: randomize split threshold by a configurable amount #15689
Store a random value up to the filestore_split_rand_factor for each
How much we randomize this sort of depends on the total numbers of PGs, the number of PGs per OSD, the time it takes to perform a split, and how much variance in count there is when psuedo-randomly distributing objects into PGs. I suspect that 10-20% is a good value. It may be that depending on the exact situation where more or less would be better, but for now I think that's a good place to start.