This is an automated email from the ASF dual-hosted git repository.
justinchen pushed a commit to branch schema_cache_cal_fix
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/schema_cache_cal_fix by this
push:
new 559a7c59aea back-roll
559a7c59aea is described below
commit 559a7c59aea9e889ed89b03069506079927b466c
Author: Caideyipi <[email protected]>
AuthorDate: Wed Nov 26 17:37:12 2025 +0800
back-roll
---
.../plan/relational/metadata/fetcher/cache/TableDeviceLastCache.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/metadata/fetcher/cache/TableDeviceLastCache.java
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/metadata/fetcher/cache/TableDeviceLastCache.java
index 797d94cac7d..f2ca8108a34 100644
---
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/metadata/fetcher/cache/TableDeviceLastCache.java
+++
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/metadata/fetcher/cache/TableDeviceLastCache.java
@@ -151,8 +151,7 @@ public class TableDeviceLastCache {
for (int i = 0; i < measurements.length; ++i) {
if (Objects.isNull(timeValuePairs[i])) {
if (invalidateNull) {
- final TimeValuePair pair =
measurement2CachedLastMap.remove(measurements[i]);
- diff.addAndGet(-getTVPairEntrySize(pair));
+ measurement2CachedLastMap.remove(measurements[i]);
}
continue;
}