Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

remove deprecated function

chrislua85720f0f679
diff --git a/weed/filer/ydb/ydb_store_kv.go b/weed/filer/ydb/ydb_store_kv.go
index 248d639a98..61c3a273c6 100644
--- a/weed/filer/ydb/ydb_store_kv.go
+++ b/weed/filer/ydb/ydb_store_kv.go
@@ -6,8 +6,6 @@ package ydb
import (
"context"
"fmt"
- "github.com/ydb-platform/ydb-go-sdk/v3/table/options"
-
"github.com/chrislusf/seaweedfs/weed/filer"
"github.com/chrislusf/seaweedfs/weed/filer/abstract_sql"
"github.com/chrislusf/seaweedfs/weed/util"
@@ -36,8 +34,7 @@ func (store *YdbStore) KvGet(ctx context.Context, key []byte) (value []byte, err
_, res, err := s.Execute(ctx, roTX, *withPragma(&store.tablePathPrefix, findQuery),
table.NewQueryParameters(
table.ValueParam("$dir_hash", types.Int64Value(dirHash)),
- table.ValueParam("$name", types.UTF8Value(name))),
- options.WithQueryCachePolicy(options.WithQueryCachePolicyKeepInCache()))
+ table.ValueParam("$name", types.UTF8Value(name))))
if err != nil {
return fmt.Errorf("kv get execute %s: %v", util.NewFullPath(dirStr, name).Name(), err)
}