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
Describe the bug 自定义探测结果 无法更新到instanceLocalValue To Reproduce
自定义探测结果返回类型为:OutlierDetectionStatus,但是InstanceLocalValue的方法为setDetectResult(DetectResult result) 类型不一致性,更新失败
Expected behavior A clear and concise description of what you expected to happen.
Environment
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
补充一点:
调整buildInstanceUpdateResult的组装逻辑。
properties.put(PROPERTY_DETECT_RESULT,entry.getValue()); // new OutlierDetectionStatus(entry.getValue().getDetectType(), OutlierDetectionStatus.Status.HEALTHY, // entry.getValue().getLastDetectTime().getTime()));
使用如下配置:
consumer: outlierDetection: enable: true checkPeriod: 10000 when: on_recover
一旦触发了探测机制,探测机制无法停止下来。
Sorry, something went wrong.
fix: fix issue polarismesh#33
29a7d8f
Merge pull request #66 from chuntaojun/fix_issue_33
55e8524
fix: fix issue #33
Successfully merging a pull request may close this issue.
Describe the bug
自定义探测结果 无法更新到instanceLocalValue
To Reproduce
自定义探测结果返回类型为:OutlierDetectionStatus,但是InstanceLocalValue的方法为setDetectResult(DetectResult result)
类型不一致性,更新失败
Expected behavior
A clear and concise description of what you expected to happen.
Environment
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: