This is an automated email from the ASF dual-hosted git repository. yongzao pushed a commit to branch 32df6dfc2e3ba in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 5664f5498974304f82106bd34e645eb2710aa631 Author: Yongzao <[email protected]> AuthorDate: Mon Aug 19 12:25:12 2024 +0800 Eventually consistent heartbeat samples #13210 --- .../apache/iotdb/confignode/manager/load/cache/AbstractLoadCache.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/cache/AbstractLoadCache.java b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/cache/AbstractLoadCache.java index 01958a589c8..42411e462a1 100644 --- a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/cache/AbstractLoadCache.java +++ b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/cache/AbstractLoadCache.java @@ -56,7 +56,7 @@ public abstract class AbstractLoadCache { // And un-sequential heartbeats will be discarded. if (getLastSample() == null || getLastSample().getSampleLogicalTimestamp() - < newHeartbeatSample.getSampleLogicalTimestamp()) { + <= newHeartbeatSample.getSampleLogicalTimestamp()) { slidingWindow.add(newHeartbeatSample); }
