mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-07-20 15:02:27 +00:00
ac962fc833
Two fixes: 1. Rename advertisedIP → advertisedHost throughout, relax contract from "always a real IP" to "routable host from -ip flag (IP or resolvable hostname)". This matches the actual -ip flag semantics which accepts both IP addresses and server names. 2. Add TestCP13_2_BlockService_AdvertisedHost_NotOpaqueID that hits the actual production wiring: BlockService with opaque localServerID + routable advertisedHost → setupReplicaReceiver → verify exported addresses use the routable host, not the opaque ID. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>