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.

issue 49: unwritable volume become writable after compacting

Chris Lu55380a014d6a
diff --git a/go/topology/topology_compact.go b/go/topology/topology_compact.go
index 6394c59c64..bcf578813d 100644
--- a/go/topology/topology_compact.go
+++ b/go/topology/topology_compact.go
@@ -74,7 +74,7 @@ func batchVacuumVolumeCommit(vl *VolumeLayout, vid storage.VolumeId, locationlis
}
}
if isCommitSuccess {
- vl.setVolumeWritable(vid)
+ vl.SetVolumeAvailable(dn,vid)
}
return isCommitSuccess
}