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.

avoid dead lock from dataFileAccessLock

Chris Luf9c1cd73702d
diff --git a/weed/storage/volume_backup.go b/weed/storage/volume_backup.go
index e10990a9be..86d13da7a1 100644
--- a/weed/storage/volume_backup.go
+++ b/weed/storage/volume_backup.go
@@ -23,7 +23,7 @@ func (v *Volume) GetVolumeSyncStatus() *volume_server_pb.VolumeSyncStatusRespons
syncStatus.TailOffset = uint64(stat.Size())
}
syncStatus.Collection = v.Collection
- syncStatus.IdxFileSize = v.IndexFileSize()
+ syncStatus.IdxFileSize = v.nm.IndexFileSize()
syncStatus.CompactRevision = uint32(v.SuperBlock.CompactionRevision)
syncStatus.Ttl = v.SuperBlock.Ttl.String()
syncStatus.Replication = v.SuperBlock.ReplicaPlacement.String()