Skip to content

[HUDI-2477] Removing rollbacks instants from timeline for restore operation#4518

Merged
codope merged 1 commit intoapache:masterfrom
nsivabalan:restore_rollback
Jan 10, 2022
Merged

[HUDI-2477] Removing rollbacks instants from timeline for restore operation#4518
codope merged 1 commit intoapache:masterfrom
nsivabalan:restore_rollback

Conversation

@nsivabalan
Copy link
Copy Markdown
Contributor

What is the purpose of the pull request

Restore means rollback of N no of commits.And so, we don't publish rollback instants to timeline only during restore. but sometime back we added rollback plan to rollback requested instant and hence publishing them is unavoidable. But we missed to clean up the rollback meta files at the end of restore. this patch fixes it by cleaning up the rollback meta files from the timeline after restore is complete.

Brief change log

After finishing restore, delete all rollback instants from timeline generated as part of the restore.

Verify this pull request

(Please pick either of the following options)

This pull request is a trivial rework / code cleanup without any test coverage.

(or)

This pull request is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added integration tests for end-to-end.
  • Added HoodieClientWriteTest to verify the change.
  • Manually verified the change by running a job locally.

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.

@nsivabalan nsivabalan added the priority:critical Production degraded; pipelines stalled label Jan 6, 2022
@hudi-bot
Copy link
Copy Markdown
Collaborator

hudi-bot commented Jan 9, 2022

CI report:

Bot commands @hudi-bot supports the following commands:
  • @hudi-bot run azure re-run the last Azure build

@codope codope merged commit 56f93f4 into apache:master Jan 10, 2022
@xushiyan xushiyan removed the priority:critical Production degraded; pipelines stalled label Jan 11, 2022
@vinishjail97 vinishjail97 mentioned this pull request Jan 24, 2022
5 tasks
nsivabalan added a commit to nsivabalan/hudi that referenced this pull request Jan 26, 2022
vingov pushed a commit to vingov/hudi that referenced this pull request Apr 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants