From aca19e40a5d1830a1b993f33015fcab7dbaf6526 Mon Sep 17 00:00:00 2001 From: Anton Kolesnikov Date: Mon, 19 Aug 2024 13:23:40 +0800 Subject: [PATCH] fix: int overflow on arm7 --- pkg/experiment/metastore/metastore_boltdb.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/experiment/metastore/metastore_boltdb.go b/pkg/experiment/metastore/metastore_boltdb.go index 6e7755a1b9..4bd3d9c022 100644 --- a/pkg/experiment/metastore/metastore_boltdb.go +++ b/pkg/experiment/metastore/metastore_boltdb.go @@ -19,7 +19,7 @@ import ( const ( boltDBFileName = "metastore.boltdb" boltDBSnapshotName = "metastore_snapshot.boltdb" - boltDBInitialMmapSize = 2 << 30 + boltDBInitialMmapSize = 1 << 30 ) type boltdb struct {