This is an automated email from the ASF dual-hosted git repository. Caideyipi pushed a commit to branch fix-fast-last-empty-cache-placeholder-1.3 in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit e758265666116ceb1e3622a8a5a085e858a4cf3d Author: Caideyipi <[email protected]> AuthorDate: Fri May 22 11:42:55 2026 +0800 Fix fast last empty cache handling in 1.3 --- .../org/apache/iotdb/db/protocol/thrift/impl/ClientRPCServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/protocol/thrift/impl/ClientRPCServiceImpl.java b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/protocol/thrift/impl/ClientRPCServiceImpl.java index 2ae50d36057..f8bd094b69e 100644 --- a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/protocol/thrift/impl/ClientRPCServiceImpl.java +++ b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/protocol/thrift/impl/ClientRPCServiceImpl.java @@ -1008,7 +1008,8 @@ public class ClientRPCServiceImpl implements IClientRPCServiceWithHandler { if (timeValuePair == null) { allCached = false; break; - } else if (timeValuePair.getValue() == null) { + } else if (timeValuePair == DeviceLastCache.EMPTY_TIME_VALUE_PAIR + || timeValuePair.getValue() == null) { // there is no data for this sensor if (!canUseNullEntry) { allCached = false;
