Skip to content

Conversation

@XuQianJin-Stars
Copy link
Contributor

@XuQianJin-Stars XuQianJin-Stars commented Feb 28, 2022

Tips

What is the purpose of the pull request

For r0.9.0 and before, there is a bug that the markers from compaction action are not cleaned up after the commit is complete.  There is a fix going in after r0.9.0 and before r0.10.0 regarding the marker cleanup for compaction: https://github.com/apache/hudi/pull/3576.  For tables with r0.9.0 and before, the makers are going to exist without cleanup.

We should clean up the Hudi markers of completed commits inside .temp if they are not cleaned up due to older release.  This process can be inside upgrade process and a cli command as well. 

Jira link: HUDI-3441

Brief change log

(for example:)

  • Modify AnnotationLocation checkstyle rule in checkstyle.xml

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.

@XuQianJin-Stars XuQianJin-Stars changed the title [HUDI-3441] Clean up markers of completed commits in .hoodie/.temp fo… [HUDI-3441] Add support for "marker delete" in hudi-cli Feb 28, 2022
@nsivabalan nsivabalan added the priority:high Significant impact; potential bugs label Feb 28, 2022
@nsivabalan nsivabalan self-assigned this Feb 28, 2022
@nsivabalan nsivabalan added priority:blocker Production down; release blocker and removed priority:high Significant impact; potential bugs labels Feb 28, 2022
@nsivabalan nsivabalan assigned leesf and unassigned nsivabalan Feb 28, 2022
@nsivabalan
Copy link
Contributor

Can you fix the description of the PR. we have a template to assist. I understand the jira will have the info. You can just copy paste most things from there. but lets try to see if we can fill in the description for diff sections.

@hudi-bot
Copy link
Collaborator

hudi-bot commented Mar 1, 2022

CI report:

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

@leesf leesf merged commit a81a632 into apache:master Mar 1, 2022
vingov pushed a commit to vingov/hudi that referenced this pull request Apr 3, 2022
stayrascal pushed a commit to stayrascal/hudi that referenced this pull request Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:blocker Production down; release blocker

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants