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.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
adjusting log messages
Chris Lu6671f576cb72
diff --git a/weed-fs/src/pkg/replication/volume_growth.go b/weed-fs/src/pkg/replication/volume_growth.goindex aad6ba1072..8519921f5e 100644--- a/weed-fs/src/pkg/replication/volume_growth.go+++ b/weed-fs/src/pkg/replication/volume_growth.go@@ -129,13 +129,12 @@ func (vg *VolumeGrowth) grow(topo *topology.Topology, vid storage.VolumeId, repTvi := &storage.VolumeInfo{Id: vid, Size: 0}server.AddOrUpdateVolume(vi)topo.RegisterVolumeLayout(vi, server)- fmt.Println("added", vid, "to", server)+ fmt.Println("Created Volume", vid, "on", server)} else {fmt.Println("Failed to assign", vid, "to", servers)return errors.New("Failed to assign " + vid.String())}}- fmt.Println("Assigning", vid, "to", servers)return nil}diff --git a/weed-fs/src/pkg/topology/node.go b/weed-fs/src/pkg/topology/node.goindex cdd9accd4c..e73719794d 100644--- a/weed-fs/src/pkg/topology/node.go+++ b/weed-fs/src/pkg/topology/node.go@@ -131,7 +131,7 @@ func (n *NodeImpl) LinkChildNode(node Node) {n.UpAdjustMaxVolumeId(node.GetMaxVolumeId())n.UpAdjustActiveVolumeCountDelta(node.GetActiveVolumeCount())node.setParent(n)- fmt.Println(n, "adds", node, "volumeCount =", n.activeVolumeCount)+ fmt.Println(n, "adds child", node)}}