featurebase/topology
Matthew Jaffee dee46d4423 add PartitionToNodeAssignment as a new option
We default to the jmp-hash method which we had previously, and allow a
user to set the "modulus" option which uses a simple mod operation to
ensure an even spread of partitions across nodes.

I think that ideally we would have new indexes uses modulus and
existing indexes use jmp-hash which implies supporting this
configuration on a per-index basis.

If we don't do per index, we should probably run the whole test suite
both ways.
2022-04-27 17:21:47 -05:00
..
hasher.go add copyright notice back in 2021-12-10 11:01:04 -06:00
node.go Upgrade go.mod to featurebase/v3 2022-01-21 10:57:05 -07:00
noder.go add PartitionToNodeAssignment as a new option 2022-04-27 17:21:47 -05:00
snapshot.go add PartitionToNodeAssignment as a new option 2022-04-27 17:21:47 -05:00