We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
这里可能导致单次请求失败就删除了这个server的所有服务、实例,带来的后果比较严重。
可以考虑:
保留上一次cache,失败时沿用;
单个失败升级为整体失败,跳过本次更新;
这个可以单独建issue来优化
Originally posted by @YonkaFang in #382 (comment)
The text was updated successfully, but these errors were encountered:
关于对接 source 策略的提议:
对接 source 基本的策略:
List services: 1.1 List 失败:重试 1.2 List 成功:基于 services 执行 2 和 3
List instances by service 2.1 List 失败:不更新 se 2.2 List 成功:更新 se
Diff last services and cur services 3.1 Last 中存在 cur 不存在的 service: delete
聚合多个同类 source 的基本策略:
上述策略在当前实现中的匹配度较低的地方:
一个潜在的约束是:一个 se 只会来自于某一个 service。在不考虑 regroup 时,对于 List instances by service 失败时不更新 se 有帮助。
当前 meshreg 模块对接多注册中心时,存在两种模式:
zk 模式和对接策略提议更加接近。
Sorry, something went wrong.
No branches or pull requests
可以考虑:
保留上一次cache,失败时沿用;
单个失败升级为整体失败,跳过本次更新;
Originally posted by @YonkaFang in #382 (comment)
The text was updated successfully, but these errors were encountered: