suryaprasanna opened a new pull request, #9007: URL: https://github.com/apache/hudi/pull/9007
### Change Logs This change fixes the transitions from requested to inflight, requested to complete, requested to rollback and inflight to rollback in IncrementalTimelineSyncFileSystemView There are some cases, where incremental file sync breaks. Especially if there are rollbacks on replacecommits or logcompaction commits. For example, if current writer saw pending replacecommit or logcompaction commit, and other writers rollbacked those commits, now if the current writer tries to incrementally sync those rollback commits it would cause failure. Apart from the above change, there is also no standard way of passing timeline object to various file system views. In some places caller's are passing completedAndCompactionTimeline and in some cases active timeline is passed. This change is trying to bring some standardizing around this. Main idea is always pass active timeline and the views themselves will figure out how to construct file groups and sync instants and then caller can use various APIs to fetch completed or inflight views. ### Impact No public facing API but the impact is medium ### Risk level (write none, low medium or high below) High ### Documentation Update All the required documentation is provided within the code. ### Contributor's checklist - [x] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute) - [x] Change Logs and Impact were stated clearly - [x] Adequate tests were added if applicable - [x] CI passed -- 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]
