From 3fdd9ba4a88d142cb90ae4719a62c24df04dc7ee Mon Sep 17 00:00:00 2001 From: Harshil Goel Date: Mon, 6 Jan 2025 15:42:53 +0530 Subject: [PATCH] fixed build --- posting/mvcc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posting/mvcc.go b/posting/mvcc.go index 3b7c1094383..1b32ac86c38 100644 --- a/posting/mvcc.go +++ b/posting/mvcc.go @@ -385,7 +385,7 @@ func initMemoryLayer(cacheSize int64, keepUpdates bool) *MemoryLayer { ostats.Record(context.Background(), x.PLCacheHitRatio.M(m.Ratio())) } }() - if cacehSize > 0 { + if cacheSize > 0 { ml.cache = cache } return ml