aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-08-15 10:03:52 -0700
committerchrislu <chris.lu@gmail.com>2022-08-15 10:03:52 -0700
commit96caf21d093d83922d5ba2726482af6e9b70f9a5 (patch)
tree0d68bb96489d2912d88c799c955fb465aba538bb
parentcb476a53ffe8861565f4b8e40e985ce7bac81fe9 (diff)
downloadseaweedfs-96caf21d093d83922d5ba2726482af6e9b70f9a5.tar.xz
seaweedfs-96caf21d093d83922d5ba2726482af6e9b70f9a5.zip
less verbose log
-rw-r--r--weed/filer/stream.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/weed/filer/stream.go b/weed/filer/stream.go
index b4ec58478..fdbcfc4ec 100644
--- a/weed/filer/stream.go
+++ b/weed/filer/stream.go
@@ -73,7 +73,7 @@ func StreamContent(masterClient wdclient.HasLookupFileIdFunction, writer io.Writ
func StreamContentWithThrottler(masterClient wdclient.HasLookupFileIdFunction, writer io.Writer, chunks []*filer_pb.FileChunk, offset int64, size int64, downloadMaxBytesPs int64) error {
- glog.V(4).Infof("start to stream content for chunks: %+v", chunks)
+ glog.V(4).Infof("start to stream content for chunks: %d", len(chunks))
chunkViews := ViewFromChunks(masterClient.GetLookupFileIdFunction(), chunks, offset, size)
fileId2Url := make(map[string][]string)
@@ -86,6 +86,7 @@ func StreamContentWithThrottler(masterClient wdclient.HasLookupFileIdFunction, w
if err == nil && len(urlStrings) > 0 {
break
}
+ glog.V(4).Infof("waiting for chunk: %s", chunkView.FileId)
time.Sleep(backoff)
}
if err != nil {