Files
ast2023andGitHub fdea23d608 make use of ringpop LookN method (#5102)
<!-- Describe what has changed in this PR -->
**What changed?**
To find number of per namespace workers we now use ringpop LookupN
method instead of sequentially calling Lookup. The lookup key also
changed: worker id was dropped from the hashed string.

Added util.SliceMap function and renamed util.SliceReduce to
util.SliceFold


<!-- Tell your future self why have you made these changes -->
**Why?**
more evenly distribute work across ring


<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
**How did you test it?**
local testing only


<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
**Potential risks**
not sure


<!-- Is this PR a hotfix candidate or require that a notification be
sent to the broader community? (Yes/No) -->
**Is hotfix candidate?**
no
2023-11-27 15:04:58 -08:00
..