ryaninvoker commented on a change in pull request #219:
URL: https://github.com/apache/servicecomb-kie/pull/219#discussion_r725957028
##########
File path: server/pubsub/bus.go
##########
@@ -55,13 +56,16 @@ type Bus struct {
func Init() {
once.Do(func() {
ac := agent.DefaultConfig()
+ sc := serf.DefaultConfig()
+ setSerfAdvertiseAddr(sc, ac.BindAddr)
Review comment:
是的 经过测试 如果不设置serf的AdvertiseAddr 在部分linux机器上会出现找不到private
ip的问题,默认设置为0.0.0.0,这个问题在其他使用过gossip的项目 例如alertmanager 也出现过,他们也是让给AdvertiseAddr
设置一个值来解决。
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]