Browse Source

minor

pull/1537/head
Chris Lu 4 years ago
parent
commit
58fa506491
  1. 2
      weed/filer/filechunk_manifest.go
  2. 1
      weed/filesys/meta_cache/meta_cache.go

2
weed/filer/filechunk_manifest.go

@ -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

1
weed/filesys/meta_cache/meta_cache.go

@ -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…
Cancel
Save