This is an automated email from the ASF dual-hosted git repository.

Caideyipi pushed a commit to branch dev/1.3
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/dev/1.3 by this push:
     new d3e95289dd1 Fix tag index query for pre-deleted timeseries (#18751) 
(#18765)
d3e95289dd1 is described below

commit d3e95289dd1c4ee31dc32e1649177c4250410769
Author: Caideyipi <[email protected]>
AuthorDate: Wed Nov 4 17:16:13 2026 +0800

    Fix tag index query for pre-deleted timeseries (#18751) (#18765)
---
 .../apache/iotdb/db/schemaengine/schemaregion/tag/TagManager.java    | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/schemaregion/tag/TagManager.java
 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/schemaregion/tag/TagManager.java
index 1d8919dadcc..86a380df96d 100644
--- 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/schemaregion/tag/TagManager.java
+++ 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/schemaregion/tag/TagManager.java
@@ -326,7 +326,10 @@ public class TagManager {
           private void getNext() throws IOException {
             nextMatched = null;
             while (allMatchedNodes.hasNext()) {
-              IMeasurementMNode<?> node = allMatchedNodes.next();
+              final IMeasurementMNode<?> node = allMatchedNodes.next();
+              if (node.isPreDeleted()) {
+                continue;
+              }
               Pair<Map<String, String>, Map<String, String>> 
tagAndAttributePair =
                   readTagFile(node.getOffset());
               nextMatched =

Reply via email to