mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/storage: typo fix in comment to maxRowsPerSmallPart.
This commit is contained in:
parent
c1cf7d9f93
commit
2abd5154e0
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ func maxRowsPerSmallPart() uint64 {
|
|||
// Production data shows that each row occupies ~1 byte in the compressed part.
|
||||
// It is expected no more than defaultPartsToMerge/2 parts exist
|
||||
// in the OS page cache before they are merged into bigger part.
|
||||
// Halft of the remaining RAM must be left for lib/mergeset parts,
|
||||
// Half of the remaining RAM must be left for lib/mergeset parts,
|
||||
// so the maxItems is calculated using the below code:
|
||||
maxRows := uint64(mem) / defaultPartsToMerge
|
||||
if maxRows < 10e6 {
|
||||
|
|
Loading…
Reference in a new issue