QuakeWang opened a new pull request, #8855:
URL: https://github.com/apache/paimon/pull/8855
### Purpose
`ParallelExecution` marks tasks complete before closing the underlying
readers, while `close()` previously only interrupted the executor. As a result,
`close()` could return while reader cleanup was still running, leaving input
streams temporarily
open.
Wait for executor termination in `close()` so reader resources are released
before it returns. Add deterministic coverage for the race and remove the sleep
workaround from `IndexBootstrapTest`.
### Tests
- `mvn -pl paimon-core -am -DfailIfNoTests=false -DwildcardSuites=none
-Dtest=ParallelExecutionTest,IndexBootstrapTest test`
- Ran `testBootstrapIgnoresQueryAuth` 1,000 times concurrently on JDK 11
--
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]