jt2594838 commented on code in PR #19242:
URL: https://github.com/apache/iotdb/pull/19242#discussion_r4547379974


##########
integration-test/src/test/java/org/apache/iotdb/db/it/cq/IoTDBCQExecInNsIT.java:
##########
@@ -523,4 +514,25 @@ public void testCQExecution5() {
       fail(e.getMessage());
     }
   }
+
+  // The row count signals that asynchronous CQ writes are ready without a 
fixed post-boundary

Review Comment:
   Poll immediately and then every 100 ms for the complete CQ output. CQ writes 
can fall between the individual DataNode query snapshots, so count each node's 
rows independently and wait until every count is sufficient within the 
unchanged 30-second deadline. SQL/transport errors still propagate; no 
exception is ignored. The caller still uses the cluster wrapper to compare 
every final timestamp and value. Apply the same condition handling at 
microsecond and nanosecond precision.
   
   <!-- it-runtime-rationale:c56099e483731cfb:196 -->



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to