You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "QuakeWang (via GitHub)" <gi...@apache.org> on 2026/06/03 12:51:29 UTC
[PR] [core] Fix flaky duplicate file discard test [paimon]
QuakeWang opened a new pull request, #8106:
URL: https://github.com/apache/paimon/pull/8106
### Purpose
`testDiscardDuplicateFilesMultiThread` used random commit message selection and an unbounded cached thread pool while stressing concurrent duplicate-file commits. Under CI contention, the test could exhaust the default commit retry limit and fail with an `ExecutionException`, making the result flaky and hard to diagnose.
This PR makes the test deterministic, gives the stress case a bounded retry configuration, shuts down the executor, and adds commit context to worker failures.
### Tests
- `mvn -pl paimon-core -am -Pfast-build -DfailIfNoTests=false -Dtest=AppendOnlySimpleTableTest#testDiscardDuplicateFilesMultiThread test`
- `mvn -pl paimon-core -am -DfailIfNoTests=false -Dtest=AppendOnlySimpleTableTest#testDiscardDuplicateFilesMultiThread 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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [core] Fix flaky duplicate file discard test [paimon]
Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi merged PR #8106:
URL: https://github.com/apache/paimon/pull/8106
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org