From 9a407591bda371392bc7b83e51e63a508a5d3ffe Mon Sep 17 00:00:00 2001 From: Sandy Xu Date: Thu, 23 Nov 2023 16:53:52 +0800 Subject: [PATCH] meta: increase inodeBatch & sliceIdBatch (#4188) --- pkg/meta/base.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/meta/base.go b/pkg/meta/base.go index 94d15be09158..0e565993b3c9 100644 --- a/pkg/meta/base.go +++ b/pkg/meta/base.go @@ -40,8 +40,8 @@ import ( ) const ( - inodeBatch = 100 - sliceIdBatch = 1000 + inodeBatch = 1 << 10 + sliceIdBatch = 4 << 10 minUpdateTime = time.Millisecond * 10 nlocks = 1024 )