From dc052186118517e9133d4780f0a418bf4e3b4d0b 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 76c595f0f3ed..d356051a933e 100644 --- a/pkg/meta/base.go +++ b/pkg/meta/base.go @@ -34,8 +34,8 @@ import ( ) const ( - inodeBatch = 100 - sliceIdBatch = 1000 + inodeBatch = 1 << 10 + sliceIdBatch = 4 << 10 minUpdateTime = time.Millisecond * 10 nlocks = 1024 )