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.

Move the redirect url perfer to volume server's PublicUrl (reverted from commit 701bb9af19d9773896eb360c921a4c7fb6a2a2ea)

yourchanges000c645d4569
diff --git a/go/topology/data_node.go b/go/topology/data_node.go
index c7d04d953f..2d0a093cce 100644
--- a/go/topology/data_node.go
+++ b/go/topology/data_node.go
@@ -87,9 +87,6 @@ func (dn *DataNode) MatchLocation(ip string, port int) bool {
}
func (dn *DataNode) Url() string {
- if dn.PublicUrl != "" {
- return dn.PublicUrl
- }
return dn.Ip + ":" + strconv.Itoa(dn.Port)
}