split: replace seeded random source #94752
Labels
A-kv-distribution
Relating to rebalancing and leasing.
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
T-kv
KV Team
In #93838 we started using a seeded rand for use in the load based +
splitter's reservoir sampling algorithm.
rand.Soure
heap allocates on init approximately 4kb. When intializedper-replica, this is problematic as nodes scale to large replica counts.
The splitter should instead be initialized with the global rand, to reduce
memory overhead per-replica.
xref #94737
Jira issue: CRDB-23121
The text was updated successfully, but these errors were encountered: