myzhan / boomer

A better load generator for locust, written in golang.
MIT License
1.18k stars 242 forks source link

运行go run main.go --master-host=xxx 连接master节点,master节点报错 #160

Closed shiyong1989 closed 2 years ago

shiyong1989 commented 2 years ago

另一台worker主机运行o run main.go --master-host=xxx(mater节点ip),master locust服务报如下错误:

e4f9d2348488/ERROR/locust.runners: An old (pre 2.0) worker tried to connect (xxx). That's not going to work.

zy7y commented 2 years ago

我也遇到这个问题, 版本是 locust 2.8.5 boomer 1.6.0, 暂时用的处理方法是 go get -u github.com/myzhan/boomer@master 拉取master分支, 我看了这个issues https://github.com/myzhan/boomer/issues/126

91Eric commented 2 years ago

按照你的方案确实可以奏效,但是boomer使用go get 依旧是安装的1.6.0