Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix comments
Browse files Browse the repository at this point in the history
D3Hunter committed Mar 6, 2024
1 parent 2f4457b commit 825d84c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions br/pkg/lightning/backend/external/merge.go
Original file line number Diff line number Diff line change
@@ -84,6 +84,7 @@ func MergeOverlappingFiles(
// + 20 * partSize
// + 20 * 5MiB(stat file, we might not use all part, as stat file is quite small)
// + readBufferSize * len(paths)
// + memory taken by concurrent reading if check-hotspot is enabled
//
// memSizeLimit = 256 MiB now.
// partSize = index-kv-data-file-size / (10000 / MergeSortOverlapThreshold) for import into.

0 comments on commit 825d84c

Please sign in to comment.