You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 23, 2023. It is now read-only.
After following the calls through memberlist here is what I have learned:
If we supply a valid IP Address it will be used by memberlist (this includes 0.0.0.0)
If we supply an empty string memberlist will attempt to find the IP Address of the machine it is running on and use that instead, which is why it has worked in the past
#1089 changes to swim AdvertiseAddr configuration with current metrictank.ini settings breaks clustering in docker-cluster and probably docker-chaos.
Before PR:
After PR:
Which then leads to endless amounts of this:
After following the calls through memberlist here is what I have learned:
Upon encountering an empty advertise-addr in metrictank.ini we should leave swimAdvertiseAddr a nil pointer (https://github.com/grafana/metrictank/blob/master/cluster/config.go#L130) and then use that to check for validity when the manager is setting up the config (https://github.com/grafana/metrictank/blob/master/cluster/manager.go#L87) and act accordingly.
Open to other ideas.
The text was updated successfully, but these errors were encountered: