mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-21 15:29:24 +08:00
fix compilation error
This commit is contained in:
@@ -88,9 +88,9 @@ func (t *Topology) Vacuum(garbageThreshold string) int {
|
||||
volumeLayout := vl.(*VolumeLayout)
|
||||
for vid, locationlist := range volumeLayout.vid2location {
|
||||
|
||||
vl.accessLock.RLock()
|
||||
volumeLayout.accessLock.RLock()
|
||||
isReadOnly, hasValue := volumeLayout.readonlyVolumes[vid]
|
||||
vl.accessLock.RUnlock()
|
||||
volumeLayout.accessLock.RUnlock()
|
||||
|
||||
if hasValue && isReadOnly {
|
||||
continue
|
||||
|
Reference in New Issue
Block a user