You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.
... ...
// intentionally iterating entries in random order
for i := range rand.Perm(len(replicationAnalysis)) {
analysisEntry := replicationAnalysis[i]
... ....
The iterating order is always 0, 1, 2, ...
I guess the code should be like as below:
for i, j := range rand.Perm(10){
fmt.Println("i:",i, ", j:", j)
}
File:
go/logic/topology_recovery.go
Function:
CheckAndRecover
Code:
The iterating order is always 0, 1, 2, ...
I guess the code should be like as below:
output:
The variable
j
should be used.@MOON-CLJ
The text was updated successfully, but these errors were encountered: