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
alter style
qieqieplus0f18592315e8
diff --git a/weed/filer/rocksdb/rocksdb_store.go b/weed/filer/rocksdb/rocksdb_store.goindex 2d5501637e..0793f547c7 100644--- a/weed/filer/rocksdb/rocksdb_store.go+++ b/weed/filer/rocksdb/rocksdb_store.go@@ -181,10 +181,12 @@ func enumerate(iter *gorocksdb.Iterator, prefix, lastKey []byte, includeLastKeyiter.Seek(prefix)} else {iter.Seek(lastKey)-- if iter.Valid() && !includeLastKey &&- bytes.Equal(iter.Key().Data(), lastKey) {- iter.Next()+ if !includeLastKey {+ if iter.Valid() {+ if bytes.Equal(iter.Key().Data(), lastKey) {+ iter.Next()+ }+ }}}