mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 11:59:24 +08:00
gen pb
This commit is contained in:
@@ -98,6 +98,7 @@ func (vc *vidMap) GetVidLocations(vid string) (locations []Location, err error)
|
||||
func (vc *vidMap) GetLocations(vid uint32) (locations []Location, found bool) {
|
||||
vc.RLock()
|
||||
defer vc.RUnlock()
|
||||
|
||||
locations, found = vc.vid2Locations[vid]
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user