satishkotha opened a new pull request #4772:
URL: https://github.com/apache/hudi/pull/4772
## What is the purpose of the pull request
As part of restore, we want to rollback pending clustering operations first.
Otherwise, commit sequence validation is failing and causing problems to
timeline
## Brief change log
- Rollback pending clustering instants followed by other commits as part of
restore.
## Verify this pull request
Did not get chance to add unit tests.
Verified with test dataset provided by @nsivabalan. Restore successfully
reverts most commits. But there seems to be one other issue with metadata table
related to schema compatibility
org.apache.hudi.exception.HoodieException: Failed schema compatibility check
for writerSchema base path :/tmp/hudi_tbl41/.hoodie/metadata
This doesn't seem to happen if metadata table is disabled
## Committer checklist
- [ ] Has a corresponding JIRA in PR title & commit
- [ ] Commit message is descriptive of the change
- [ ] CI is green
- [ ] Necessary doc changes done or have another open PR
- [ ] For large changes, please consider breaking it into sub-tasks under
an umbrella JIRA.
--
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]