M@
11 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
0 deletions
-
weed/cluster/lock_manager/lock_ring.go
|
|
@ -72,7 +72,9 @@ func (r *LockRing) SetSnapshot(servers []pb.ServerAddress) { |
|
|
|
return servers[i] < servers[j] |
|
|
|
}) |
|
|
|
|
|
|
|
r.Lock() |
|
|
|
r.lastUpdateTime = time.Now() |
|
|
|
r.Unlock() |
|
|
|
|
|
|
|
r.addOneSnapshot(servers) |
|
|
|
|
|
|
|
xxxxxxxxxx