fix(mdt): use native log format for file group initialization#19312
Open
cshuo wants to merge 1 commit into
Open
fix(mdt): use native log format for file group initialization#19312cshuo wants to merge 1 commit into
cshuo wants to merge 1 commit into
Conversation
cshuo
marked this pull request as ready for review
July 17, 2026 08:42
Collaborator
cshuo
force-pushed
the
fix_mdt_initialization
branch
from
July 18, 2026 08:00
2d02cd6 to
1b264dc
Compare
cshuo
force-pushed
the
fix_mdt_initialization
branch
from
July 20, 2026 01:47
1b264dc to
dd375e0
Compare
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
Closes #19311
When native log format is enabled, MDT file-group initialization still creates a legacy inline log containing an empty delete block. Empty file groups therefore do not have the native
.log.hfileexpected by the file-system view and may not be discovered before receiving records.Summary and Changelog
.log.hfilefor each empty MDT file group when native log format is enabled.HoodieMetadataWriteUtils.Impact
Empty MDT file groups are discoverable by the file-system view when native log format is enabled. There are no public API or configuration changes.
Risk Level
Low. The change is limited to initial empty MDT file-group creation, preserves the legacy inline path, and includes native HFile footer read coverage.
Documentation Update
None. There are no user-facing API or configuration changes.
Contributor's checklist