BraveheartStone opened a new pull request, #6201: URL: https://github.com/apache/shenyu/pull/6201
修复通过 nacos 发现下游服务时,下游服务重启后,会将旧的IP覆盖新的IP。导致通过shenyu调用下游服务报错Can not find healthy upstream url, please check your configuration! 1. 缓存实例逻辑修复 2. 新增通过 selectorId 获取健康实例方法 3. weight 支持 set 方法 4. 重写 Upstream equals 方法(去除 weight 参与相等校验) issues: #6144 https://github.com/apache/shenyu/issues/6144 <!-- Describe your PR here; e.g. Fixes #issueNo --> <!-- Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request. --> Make sure that: - [x] You have read the [contribution guidelines](https://shenyu.apache.org/community/contributor-guide). - [x] You submit test cases (unit or integration tests) that back your changes. - [x] Your local test passed `./mvnw clean install -Dmaven.javadoc.skip=true`. -- 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]
