fix: Avoid deleting metadata table with MOR during upgrade / downgrade#14191
Merged
nsivabalan merged 12 commits intoapache:masterfrom Nov 4, 2025
Merged
fix: Avoid deleting metadata table with MOR during upgrade / downgrade#14191nsivabalan merged 12 commits intoapache:masterfrom
nsivabalan merged 12 commits intoapache:masterfrom
Conversation
63de8c9 to
e22408f
Compare
nsivabalan
reviewed
Oct 30, 2025
...nt/hudi-client-common/src/main/java/org/apache/hudi/table/upgrade/UpgradeDowngradeUtils.java
Outdated
Show resolved
Hide resolved
...nt/hudi-client-common/src/main/java/org/apache/hudi/table/upgrade/UpgradeDowngradeUtils.java
Outdated
Show resolved
Hide resolved
784d662 to
f46fd4e
Compare
linliu-code
commented
Oct 31, 2025
...nt/hudi-client-common/src/main/java/org/apache/hudi/table/upgrade/UpgradeDowngradeUtils.java
Outdated
Show resolved
Hide resolved
772fe6c to
e16e638
Compare
nsivabalan
approved these changes
Nov 3, 2025
...nt/hudi-client-common/src/main/java/org/apache/hudi/table/upgrade/UpgradeDowngradeUtils.java
Outdated
Show resolved
Hide resolved
3 tasks
yihua
added a commit
to yihua/hudi
that referenced
this pull request
Nov 10, 2025
apache#14191) --------- Co-authored-by: Lokesh Jain <ljain@192.168.0.234> Co-authored-by: Lokesh Jain <ljain@Lokeshs-MacBook-Pro.local> Co-authored-by: Y Ethan Guo <yihua@apache.org> Co-authored-by: sivabalan <n.siva.b@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe the issue this Pull Request addresses
#14171
Currently while performing rollback or compaction, metadata table gets deleted since the metadata enablement configs are set to false by default. We should avoid deleting the metadata table by removing the metadata table config during compaction.
Summary and Changelog
Before we do the rollback and/or compaction, we do:
Impact
Low.
Risk Level
Low
Documentation Update
Contributor's checklist