Update totalChunkSize in the chunk operator to show stats during restore

This commit is contained in:
Gilbert Chen
2022-03-04 16:53:40 -05:00
parent d9f6545d63
commit ade669d14e

View File

@@ -95,6 +95,7 @@ func (downloader *ChunkDownloader) AddFiles(snapshot *Snapshot, files []*Entry)
maximumChunks = file.EndChunk - file.StartChunk
}
}
downloader.operator.totalChunkSize = downloader.totalChunkSize
}
// Prefetch adds up to 'threads' chunks needed by a file to the download list