feat: Support MDT compaction configs of frequency seconds and trigger strategy#17603
Merged
yihua merged 9 commits intoapache:masterfrom Dec 20, 2025
Merged
feat: Support MDT compaction configs of frequency seconds and trigger strategy#17603yihua merged 9 commits intoapache:masterfrom
yihua merged 9 commits intoapache:masterfrom
Conversation
yihua
reviewed
Dec 16, 2025
hudi-common/src/main/java/org/apache/hudi/common/config/HoodieMetadataConfig.java
Outdated
Show resolved
Hide resolved
hudi-common/src/main/java/org/apache/hudi/common/config/HoodieMetadataConfig.java
Show resolved
Hide resolved
hudi-common/src/main/java/org/apache/hudi/common/config/HoodieMetadataConfig.java
Outdated
Show resolved
Hide resolved
hudi-common/src/main/java/org/apache/hudi/common/config/HoodieMetadataConfig.java
Outdated
Show resolved
Hide resolved
yihua
reviewed
Dec 17, 2025
hudi-common/src/main/java/org/apache/hudi/common/config/HoodieMetadataConfig.java
Outdated
Show resolved
Hide resolved
hudi-common/src/main/java/org/apache/hudi/common/config/HoodieMetadataConfig.java
Outdated
Show resolved
Hide resolved
hudi-common/src/main/java/org/apache/hudi/common/config/HoodieMetadataConfig.java
Show resolved
Hide resolved
…T_TIME_DELTA_SECONDS and INLINE_COMPACT_TRIGGER_STRATEGY
…T_TIME_DELTA_SECONDS and INLINE_COMPACT_TRIGGER_STRATEGY
…E_COMPACT_TIME_DELTA_SECONDS and INLINE_COMPACT_TRIGGER_STRATEGY" This reverts commit ffdb8f1.
…NE_COMPACT_TIME_DELTA_SECONDS and INLINE_COMPACT_TRIGGER_STRATEGY" This reverts commit 542e4b9.
…MetadataConfig.java Co-authored-by: Y Ethan Guo <ethan.guoyihua@gmail.com>
…MetadataConfig.java Co-authored-by: Y Ethan Guo <ethan.guoyihua@gmail.com>
cf6cd8d to
41567fe
Compare
yihua
approved these changes
Dec 20, 2025
hudi-common/src/main/java/org/apache/hudi/common/config/HoodieMetadataConfig.java
Outdated
Show resolved
Hide resolved
hudi-common/src/main/java/org/apache/hudi/common/config/HoodieMetadataConfig.java
Show resolved
Hide resolved
yihua
added a commit
to yihua/hudi
that referenced
this pull request
Dec 24, 2025
… trigger strategy (apache#17603)" This reverts commit 22a55c6.
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
Users currently cannot configure the metadata table to use a duration-based compaction trigger strategy.
Summary and Changelog
Add configs
hoodie.metadata.compact.trigger.strategyandhoodie.metadata.compact.max.delta.seconds, used when creating metadata table write configImpact
Enables setting metadata table compaction trigger strategy to be different than HUDI default. This allows users to specify and set time based compaction trigger policies for metadata table
Risk Level
none - default (data table) compaction trigger strategy of commit-based will continue to be used, unless overridden by user
Documentation Update
Contributor's checklist