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.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
filer: etcd store avoid read with nil option
Chris Lu2a0925590c4a
diff --git a/weed/filer/etcd/etcd_store_kv.go b/weed/filer/etcd/etcd_store_kv.goindex a803a5834c..df252f46cf 100644--- a/weed/filer/etcd/etcd_store_kv.go+++ b/weed/filer/etcd/etcd_store_kv.go@@ -19,7 +19,7 @@ func (store *EtcdStore) KvPut(ctx context.Context, key []byte, value []byte) (erfunc (store *EtcdStore) KvGet(ctx context.Context, key []byte) (value []byte, err error) {- resp, err := store.client.Get(ctx, string(key), nil)+ resp, err := store.client.Get(ctx, string(key))if err != nil {return nil, fmt.Errorf("kv get: %v", err)