Caideyipi opened a new pull request, #18850:
URL: https://github.com/apache/iotdb/pull/18850
## Description
`IoTDBSpaceQuotaIT.setSpaceQuotaTest5` can observe quota usage `[0, 0, 2]`
across DataNodes while heartbeat updates converge. The cluster JDBC comparison
throws `InconsistentDataException`, which `untilAsserted()` does not retry by
default, so the existing eventual assertion fails immediately.
Retry this exception within the existing 30-second polling window. Each
attempt queries again and validates the complete expected quota output.
Persistent inconsistency still times out, and unrelated runtime exceptions
still fail immediately.
## Validation
- Spotless formatting, reactor compilation, and `git diff --check` passed.
- A deterministic check against the original and modified helper, using the
real node-result comparator, reproduced the original immediate failure,
verified successful convergence on the next query, confirmed unrelated runtime
exceptions propagate, and confirmed persistent inconsistency fails after 30
seconds. All result sets were closed.
- Attempted the targeted cluster test with:
```text
mvn verify -DskipUTs -Dit.test=IoTDBSpaceQuotaIT#setSpaceQuotaTest5
-DfailIfNoTests=false -Dfailsafe.failIfNoSpecifiedTests=false -Drat.skip=true
-pl integration-test -am -PClusterIT -Pwith-integration-tests
```
It was blocked in `setUp()` by a local TsFile parser/ANTLR runtime
mismatch (`Could not deserialize ATN with version 3 (expected 4)`), before the
test body ran. RAT was skipped because of existing client-go license failures.
This PR has:
- [x] been self-reviewed.
- [x] added comments explaining the reason for the retry.
- [x] updated an existing integration test.
--
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]