This commit is contained in:
Chris Lu 2020-10-13 19:50:22 -07:00
parent 28d4e1a51b
commit 58fa506491
2 changed files with 1 additions and 2 deletions

View file

@ -115,7 +115,7 @@ func retriedFetchChunkData(urlStrings []string, cipherKey []byte, isGzipped bool
} }
} }
if err != nil && shouldRetry{ 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) time.Sleep(waitTime)
} else { } else {
break break

View file

@ -117,7 +117,6 @@ func (mc *MetaCache) ListDirectoryEntries(ctx context.Context, dirPath util.Full
mc.RLock() mc.RLock()
defer mc.RUnlock() defer mc.RUnlock()
if !mc.visitedBoundary.HasVisited(dirPath) { if !mc.visitedBoundary.HasVisited(dirPath) {
return nil, fmt.Errorf("unsynchronized dir: %v", dirPath) return nil, fmt.Errorf("unsynchronized dir: %v", dirPath)
} }