diff options
| author | Konstantin Lebedev <lebedev_k@tochka.com> | 2021-03-15 19:33:33 +0500 |
|---|---|---|
| committer | Konstantin Lebedev <lebedev_k@tochka.com> | 2021-03-15 19:33:33 +0500 |
| commit | 46b9f5cff470d24dab87a2e7737f00ef3c2c98ae (patch) | |
| tree | 916d2bf4120fb93eea75fde84647a132254983f2 /weed/filer/stream.go | |
| parent | 7194a5e7bf38ec136ea8ec8f6b50960d598a4d95 (diff) | |
| download | seaweedfs-46b9f5cff470d24dab87a2e7737f00ef3c2c98ae.tar.xz seaweedfs-46b9f5cff470d24dab87a2e7737f00ef3c2c98ae.zip | |
add debug logging
Diffstat (limited to 'weed/filer/stream.go')
| -rw-r--r-- | weed/filer/stream.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/weed/filer/stream.go b/weed/filer/stream.go index 7e041e213..4353b1f07 100644 --- a/weed/filer/stream.go +++ b/weed/filer/stream.go @@ -73,9 +73,11 @@ func StreamContent(masterClient wdclient.HasLookupFileIdFunction, w io.Writer, c func CheckAllChunkViews(chunkViews []*ChunkView, fileId2Url *map[string][]string, gErr *errgroup.Group) { for _, chunkView := range chunkViews { + urlStrings := (*fileId2Url)[chunkView.FileId] + glog.V(9).Infof("Check chunk: %+v\n url: %v", chunkView, urlStrings) gErr.Go(func() error { _, err := retriedFetchChunkData( - (*fileId2Url)[chunkView.FileId], + urlStrings, chunkView.CipherKey, chunkView.IsGzipped, chunkView.IsFullChunk(), |
