CheckAllChunkViews() for HEAD requests only

This commit is contained in:
Konstantin Lebedev
2021-03-16 14:15:17 +05:00
parent 3a3699867b
commit 06da02739d
6 changed files with 20 additions and 16 deletions

View File

@@ -52,7 +52,7 @@ func (f *Filer) maybeReloadFilerConfiguration(event *filer_pb.SubscribeMetadataR
func (f *Filer) readEntry(chunks []*filer_pb.FileChunk) ([]byte, error) {
var buf bytes.Buffer
err := StreamContent(f.MasterClient, &buf, chunks, 0, math.MaxInt64)
err := StreamContent(f.MasterClient, &buf, chunks, 0, math.MaxInt64, false)
if err != nil {
return nil, err
}