nsivabalan opened a new pull request #4123:
URL: https://github.com/apache/hudi/pull/4123
## What is the purpose of the pull request
When rollbacks fail midway, and if writer comes up next time, a new rollback
is attempted for partially failed commits. This patch fixes this, so that the
same rollback instant is used and retried. This will ensure there are no
dangling inflight rollbacks in timeline.
## Brief change log
Fixed rollback impl in AbstractHoodieWriteClient to check for pending
rollbacks and re-use the same instead of creating a new rollback instant
everytime to do rollback of commits.
## Verify this pull request
This change added tests and can be verified as follows:
- TestClientRollback.testFailedRollbackCommit
## 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]