Caideyipi opened a new pull request, #18899:
URL: https://github.com/apache/iotdb/pull/18899

   ## Description
   
   `IoTDBTableIT.testManageTable` and `testAsyncDropTableProgress` can fail 
with `InconsistentDataException` when polling 
`information_schema.drop_table_procedures`: the cluster test connection queries 
multiple DataNodes, and the procedure can transition from `RUNNABLE` to 
`SUCCESS` between those queries.
   
   Use a dedicated statement from the underlying single-node JDBC connection 
for procedure polling and the final progress assertions. Regular table queries 
retain cross-node verification, and direct JDBC connections remain supported.
   
   ## Validation
   
   - Passed `mvn spotless:apply -pl integration-test -P with-integration-tests`.
   - Passed the following verification with 1 ConfigNode and 3 DataNodes: 2 
tests, 0 failures, 0 errors, 0 skipped.
   
   ```sh
   mvn -nsu verify -pl integration-test -P 
with-integration-tests,TableClusterIT \
     -DskipUTs=true \
     '-Dit.test=IoTDBTableIT#testManageTable+testAsyncDropTableProgress' \
     -Ddevelocity.off=true
   ```
   
   - [x] Self-reviewed.
   - [x] Added a comment explaining why procedure queries must use a single 
node.
   - [x] Tested the affected cases in an IoTDB cluster.
   


-- 
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