We have integrated embedded client of olric and we are seeing "not enough room to distribute partitions" error
Config:
PartitionCount: 2
MemberCount: 4
Load Factor: 1.25
Can we add some validation in olric lib to make sure PartitionCount > MemberCount to avoid panics ?
When PartitionCount < MemberCount, no matter what loadFactor you set, you will always get above error
I am not sure if this should be fixed in https://github.com/buraksezer/consistent/blob/master/consistent.go#L180 or if validation should be added in olric to avoid misconfiguration. 2
We have integrated embedded client of olric and we are seeing "not enough room to distribute partitions" error
Config:
PartitionCount: 2
MemberCount: 4
Load Factor: 1.25
Can we add some validation in olric lib to make sure PartitionCount > MemberCount to avoid panics ?
When PartitionCount < MemberCount, no matter what loadFactor you set, you will always get above error
I am not sure if this should be fixed in https://github.com/buraksezer/consistent/blob/master/consistent.go#L180 or if validation should be added in olric to avoid misconfiguration. 2