feat: Introduce inflight record index cache for bucket assigning#17802
Merged
danny0405 merged 2 commits intoapache:masterfrom Jan 9, 2026
Merged
feat: Introduce inflight record index cache for bucket assigning#17802danny0405 merged 2 commits intoapache:masterfrom
danny0405 merged 2 commits intoapache:masterfrom
Conversation
3f2f24a to
cd6e1bb
Compare
danny0405
reviewed
Jan 9, 2026
| new DefaultSizeEstimator<>(), | ||
| new DefaultSizeEstimator<>(), | ||
| writeConfig.getCommonConfig().getSpillableDiskMapType(), | ||
| new DefaultSerializer<>(), |
Contributor
There was a problem hiding this comment.
might need to fire a sub-task to introduce efficient serializer in the future.
danny0405
reviewed
Jan 9, 2026
|
|
||
| @AdvancedConfig | ||
| public static final ConfigOption<Long> BUCKET_ASSIGN_INFLIGHT_INDEX_CACHE_SIZE = ConfigOptions | ||
| .key("write.bucket_assign.inflight.cache.size") |
Contributor
There was a problem hiding this comment.
index.rli.cache.size ? this cache size is the total bytes for inflight and hotspot(may introuduced in the future).
danny0405
approved these changes
Jan 9, 2026
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
Add access cache to support efficient lookup of RLI for flink writer, fixes #17809
Summary and Changelog
Add access cache to support efficient lookup of RLI for flink writer.
Impact
Basic component for supporting bucket assign based on RLI.
Risk Level
low.
Documentation Update
Contributor's checklist