apache / apache/hudi

Implement Rollback like API in HoodieWriteClient which can revert all actions

Open
#14,556 0 comments 0 reactions 1 assignee Claimed by @danny0405 View on GitHub
area:writer component:rollback from-jira priority:high type:feature
Dominant language
Java
Stars
6.2k
Forks
2.5k
Avg merge
2d 8h
Merged PRs (30d)
111

Description

Related to HUDI-716 and PR-1432

The PR address the specific issue of deleting orphaned inflight/requested clean actions by older versions of Hudi. 

Currently rollback performs reverting only commit and delta-commit operations. We can introduce a new API which will consistently revert all pending actions clean, compact, commit  and delta-commit.  Currently, we dont rollback clean. Instead we expect future clean operations to first finish up pending clean first. By having this new API (rollbackPendingActions), we can let users consistently revert any actions if they want.

 

## JIRA info

- Link: https://issues.apache.org/jira/browse/HUDI-747
- Type: New Feature
- Affects version(s):
- 0.9.0
- Fix version(s):
- 1.1.0

---

## Comments

30/Mar/20 09:14;vbalaji;[~lamber-ken] FYI. If you are interested, kindly go through this ticket and take it up. 

Thanks,

Balaji.V;;;

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.