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.

add missing unlock()!!!!!

Chris Lucaeffa3998ad
diff --git a/go/util/concurrent_read_map.go b/go/util/concurrent_read_map.go
index bbf303d827..28b6ae0f1f 100644
--- a/go/util/concurrent_read_map.go
+++ b/go/util/concurrent_read_map.go
@@ -49,6 +49,7 @@ func (m *ConcurrentReadMap) Items() (itemsCopy []interface{}) {
for _, i := range m.items {
itemsCopy = append(itemsCopy, i)
}
+ m.RUnlock()
return itemsCopy
}