From 7f4a04ee6a8c4df114a360f4bcda179e57525bd0 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Tue, 8 Oct 2019 18:51:14 +0300 Subject: [PATCH] lib/storage: typo fix in comment to maxRowsPerSmallPart. --- lib/storage/partition.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/storage/partition.go b/lib/storage/partition.go index 404bc28a9..4892b3627 100644 --- a/lib/storage/partition.go +++ b/lib/storage/partition.go @@ -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 {