From 7e539703c3617af8c4abbae31809b5e36f471618 Mon Sep 17 00:00:00 2001 From: Dmitrii Stepanov Date: Tue, 2 Jul 2024 16:34:51 +0300 Subject: [PATCH] [#9999] lens: Fix metabase engine to pebble Signed-off-by: Dmitrii Stepanov --- cmd/frostfs-lens/internal/meta/root.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cmd/frostfs-lens/internal/meta/root.go b/cmd/frostfs-lens/internal/meta/root.go index 6741abd0c..1fb65d3eb 100644 --- a/cmd/frostfs-lens/internal/meta/root.go +++ b/cmd/frostfs-lens/internal/meta/root.go @@ -1,13 +1,10 @@ package meta import ( - "time" - common "git.frostfs.info/TrueCloudLab/frostfs-node/cmd/frostfs-lens/internal" meta "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/local_object_storage/metabase" "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/local_object_storage/shard/mode" "github.com/spf13/cobra" - "go.etcd.io/bbolt" ) var ( @@ -38,10 +35,6 @@ func init() { func openMeta(cmd *cobra.Command) *meta.DB { db := meta.New( meta.WithPath(vPath), - meta.WithBoltDBOptions(&bbolt.Options{ - ReadOnly: true, - Timeout: 100 * time.Millisecond, - }), meta.WithEpochState(epochState{}), ) common.ExitOnErr(cmd, common.Errf("could not open metabase: %w", db.Open(cmd.Context(), mode.ReadOnly)))