Caideyipi opened a new pull request, #18403:
URL: https://github.com/apache/iotdb/pull/18403
## Description
`IoTDBPipeIdempotentIT` executes preparation statements on the sender and
immediately executes the conflict statement on the receiver. Since Pipe
transfers config events asynchronously, the receiver may not have the required
table or user yet, causing flaky `does not exist` errors before the idempotent
conflict is created.
This change adds a database config event as a progress marker after the
preparation statements and waits until it reaches the receiver. It also updates
the final database count to include the marker database.
## Tests
- `mvn spotless:apply -pl integration-test -Pwith-integration-tests`
- The two originally failing methods passed together:
- `testTableAlterUserIdempotent3`
- `testSetTableColumnCommentIdempotent`
- Full `IoTDBPipeIdempotentIT`: 23 methods passed; one method hit a
transient DataNode `Connection refused` error and passed when rerun separately.
--
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]