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
Sentinel/sentinel-core/src/main/java/com/alibaba/csp/sentinel/node/metric/MetricSearcher.java
Lines 208 to 211 in 195150b
209行 offset = indexIn.readLong(); 不应该写, 应该剔除这行, 这样会导致读取的数据不正确
假如读取的是 1729965161000L的数据, 返回的是1729965162000L及之后的数据, 但如果1729965161000L是文件的最后一个时间的记录数据, 又会被读取到
List<MetricNode> metricNodes = searcher.find(1729965161000L, 5);
The text was updated successfully, but these errors were encountered:
@brucelwl , I have made a PR please have a look and let me know if any changes are required.
Thanks
Sorry, something went wrong.
@manojks1999 看着没什么问题
Successfully merging a pull request may close this issue.
Sentinel/sentinel-core/src/main/java/com/alibaba/csp/sentinel/node/metric/MetricSearcher.java
Lines 208 to 211 in 195150b
209行 offset = indexIn.readLong(); 不应该写, 应该剔除这行, 这样会导致读取的数据不正确
假如读取的是 1729965161000L的数据, 返回的是1729965162000L及之后的数据,
但如果1729965161000L是文件的最后一个时间的记录数据, 又会被读取到
The text was updated successfully, but these errors were encountered: