suryaprasanna opened a new pull request, #17932: URL: https://github.com/apache/hudi/pull/17932
### Describe the issue this Pull Request addresses In multi-writer scenarios, rollback operations could fail when attempting to roll back commits that are older than replace commits (clustering) or compaction commits. The system wasn't properly validating the commit sequence and handling these scenarios. ### Summary and Changelog This PR enables proper rollback of commits that are older than replace and compaction commits. **Changes:** - Added support for rolling back commits older than replace and compaction commits - Added rollback logging for better debugging in rollback scenarios - Included replacecommit check before isClusteringPlan call during commit sequence validation - Updated test cases to cover multi-writer rollback scenarios ### Impact Improves robustness of rollback operations in multi-writer scenarios. No breaking changes to public APIs. ### Risk Level **Low** - Adds defensive checks and logging for better rollback handling. Includes comprehensive test coverage for the multi-writer scenarios. ### Documentation Update none ### Contributor's checklist - [x] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute) - [x] Enough context is provided in the sections above - [x] Adequate tests were added if applicable -- 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]
