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 compilation

Chris Lub964bbab3db8
diff --git a/weed/storage/store.go b/weed/storage/store.go
index f0dbbdf185..76fe4de276 100644
--- a/weed/storage/store.go
+++ b/weed/storage/store.go
@@ -229,7 +229,7 @@ func (s *Store) Close() {
func (s *Store) WriteVolumeNeedle(i needle.VolumeId, n *needle.Needle) (isUnchanged bool, err error) {
if v := s.findVolume(i); v != nil {
- if v.v.IsReadOnly() {
+ if v.IsReadOnly() {
err = fmt.Errorf("volume %d is read only", i)
return
}