QuakeWang opened a new pull request, #8572:
URL: https://github.com/apache/paimon/pull/8572
### Purpose
`FileStoreCommitImpl.abort` deleted uncommitted data and changelog files but
ignored `newIndexFiles` from both data and compact increments. Aborted commits
could therefore leave index files behind, including files stored at external
paths.
Clean up both sets of new index files through `IndexFilePathFactories`. Keep
`deletedIndexFiles` untouched because they still belong to the active snapshot
when the commit is aborted.
### Tests
- `mvn -pl paimon-core -Pfast-build -DwildcardSuites=none
-Dtest=FileStoreCommitTest test`
- `mvn -pl paimon-core -DskipTests verify`
--
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]