diff options
| author | chrislu <chris.lu@gmail.com> | 2025-10-30 20:01:30 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2025-10-30 20:01:30 -0700 |
| commit | f3832307663b955429d4724a03a9fac7bb6802ed (patch) | |
| tree | 799ccf7e474c9a4ddca57be136b240d732bbf304 | |
| parent | d00308399d37870a6a93272b75a76ead1847848c (diff) | |
| download | seaweedfs-f3832307663b955429d4724a03a9fac7bb6802ed.tar.xz seaweedfs-f3832307663b955429d4724a03a9fac7bb6802ed.zip | |
fmt
| -rw-r--r-- | weed/wdclient/masterclient.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/wdclient/masterclient.go b/weed/wdclient/masterclient.go index b063171d7..e8e5b7388 100644 --- a/weed/wdclient/masterclient.go +++ b/weed/wdclient/masterclient.go @@ -106,7 +106,7 @@ func (mc *MasterClient) LookupFileIdWithFallback(ctx context.Context, fileId str otherDcUrls = append(otherDcUrls, httpUrl) } } - + // Prefer same data center fullUrls = append(sameDcUrls, otherDcUrls...) return fullUrls, nil @@ -569,7 +569,7 @@ func (mc *MasterClient) deleteEcLocation(vid uint32, location Location) { func (mc *MasterClient) resetVidMap() { mc.vidMapLock.Lock() defer mc.vidMapLock.Unlock() - + tail := &vidMap{ vid2Locations: mc.vidMap.vid2Locations, ecVid2Locations: mc.vidMap.ecVid2Locations, |
