(key: string, nodes: ReadonlyArray<string>): stringStable owner pick for a fixed node set — sort keys, then Hash.string modulo.
Remapping when membership changes is intentional / explicit (v1 = fixed fleet).
utils
Source src/ShardMap.ts:591 lines
export const const consistentHash: anyStable owner pick for a fixed node set — sort keys, then Hash.string modulo.
Remapping when membership changes is intentional / explicit (v1 = fixed fleet).
consistentHash = import internalinternal.consistentHash;