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.

fix comparing

Chris Lu29eb333f8e6a
diff --git a/weed/filer2/entry_codec.go b/weed/filer2/entry_codec.go
index d0045597a7..3a2dc61341 100644
--- a/weed/filer2/entry_codec.go
+++ b/weed/filer2/entry_codec.go
@@ -107,7 +107,7 @@ func eq(a, b map[string][]byte) bool {
}
for k, v := range a {
- if w, ok := b[k]; !ok || bytes.Equal(v, w) {
+ if w, ok := b[k]; !ok || !bytes.Equal(v, w) {
return false
}
}