vamshikrishnakyatham opened a new pull request, #14109: URL: https://github.com/apache/hudi/pull/14109
### Describe the issue this Pull Request addresses Fixes table downgrade failure from version 9 to versions < 8 due to NBCC validation error. When metadata streaming writes are enabled (default for Spark), the rollback operation during downgrade creates a write client that inherits NBCC settings but targets a table version < 8, causing validation to fail with: Non-blocking concurrency control is not supported for table versions < 8. ### Summary and Changelog Modified `UpgradeDowngradeUtils.rollbackFailedWritesAndCompact()` to override `hoodie.write.concurrency.mode` to `SINGLE_WRITER` when downgrading to table versions < 8 which is expected ### Impact No impact, just a bug fix ### Risk Level low ### Documentation Update Not needed, just a bug fix ### 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]
