Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a test to monitor the distribution of vnode to physical node
### What changes are proposed in this pull request? Add a test so we can monitor the vnode distribution is not too uneven. This test calculates the standard deviation over mean on the collection of virtual nodes assigned to physical nodes. It arbitrarily bounds it at 0.25, but ideally this number should get smaller over time as we improve hashing algorithm and use better ways to assign virtual nodes to physical nodes. ### Why are the changes needed? We may change hashing algorithm and virtual node assignment in the future, this will provide guidance and catch errors. ### Does this PR introduce any user facing changes? No. pr-link: #18147 change-id: cid-152d8edc9b65ef59967d5985849feeb471a6650d
- Loading branch information