You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ji...@apache.org on 2025/11/27 09:22:51 UTC
(iotdb) branch master updated: Added back the mis-deleted "()" in last cache (#16824)
This is an automated email from the ASF dual-hosted git repository.
jiangtian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 19ebbe31099 Added back the mis-deleted "()" in last cache (#16824)
19ebbe31099 is described below
commit 19ebbe310998055274e2e13c1708ec8968b64bd2
Author: Caideyipi <87...@users.noreply.github.com>
AuthorDate: Thu Nov 27 17:22:45 2025 +0800
Added back the mis-deleted "()" in last cache (#16824)
---
.../plan/relational/metadata/fetcher/cache/TableDeviceLastCache.java | 4 ++--
1 file changed, 2 insertions(+), 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 f2ca8108a34..f814139e880 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
@@ -120,8 +120,8 @@ public class TableDeviceLastCache {
(measurementKey, tvPair) -> {
if (Objects.isNull(newPair)) {
diff.addAndGet(
- -(isTableModel ? 0 : (int) RamUsageEstimator.sizeOf(finalMeasurement))
- + getTVPairEntrySize(tvPair));
+ -((isTableModel ? 0 : (int) RamUsageEstimator.sizeOf(finalMeasurement))
+ + getTVPairEntrySize(tvPair)));
return null;
}
if (Objects.isNull(tvPair)) {