Skip to content

Improve mirror selection#674

Merged
raymondjacobson merged 2 commits intomainfrom
rj-storeall-improvmeent
Feb 25, 2026
Merged

Improve mirror selection#674
raymondjacobson merged 2 commits intomainfrom
rj-storeall-improvmeent

Conversation

@raymondjacobson
Copy link
Member

Include storeall before shuffle


candidates := append([]string(nil), ranked[:n]...)
rand.Shuffle(n, func(i, j int) {
for _, h := range config.Cfg.StoreAllNodes {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

@raymondjacobson raymondjacobson merged commit da9ba4b into main Feb 25, 2026
5 checks passed
@raymondjacobson raymondjacobson deleted the rj-storeall-improvmeent branch February 25, 2026 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants