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: include DiskType in metadata log volume assignment (#7918)

cduk568f1fe5b18e
diff --git a/weed/filer/filer_notify_append.go b/weed/filer/filer_notify_append.go
index 9150f92d61..3efcc4fc95 100644
--- a/weed/filer/filer_notify_append.go
+++ b/weed/filer/filer_notify_append.go
@@ -55,6 +55,7 @@ func (f *Filer) assignAndUpload(targetFile string, data []byte) (*operation.Assi
Count: 1,
Collection: util.Nvl(f.metaLogCollection, rule.Collection),
Replication: util.Nvl(f.metaLogReplication, rule.Replication),
+ DiskType: rule.DiskType,
WritableVolumeCount: rule.VolumeGrowthCount,
}