mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-25 03:29:10 +08:00
minor
This commit is contained in:
parent
28d4e1a51b
commit
58fa506491
@ -115,7 +115,7 @@ func retriedFetchChunkData(urlStrings []string, cipherKey []byte, isGzipped bool
|
||||
}
|
||||
}
|
||||
if err != nil && shouldRetry{
|
||||
glog.V(0).Infof("sleep for %v before retrying reading", waitTime)
|
||||
glog.V(0).Infof("retry reading in %v", waitTime)
|
||||
time.Sleep(waitTime)
|
||||
} else {
|
||||
break
|
||||
|
@ -117,7 +117,6 @@ func (mc *MetaCache) ListDirectoryEntries(ctx context.Context, dirPath util.Full
|
||||
mc.RLock()
|
||||
defer mc.RUnlock()
|
||||
|
||||
|
||||
if !mc.visitedBoundary.HasVisited(dirPath) {
|
||||
return nil, fmt.Errorf("unsynchronized dir: %v", dirPath)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user