feat: Support bucket assgin operator fetching inflight instants from coordinator#17885
Merged
danny0405 merged 2 commits intoapache:masterfrom Jan 19, 2026
Merged
Conversation
f2e9206 to
6d331a5
Compare
bedb109 to
9ccec51
Compare
danny0405
reviewed
Jan 16, 2026
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/event/Correspondent.java
Outdated
Show resolved
Hide resolved
danny0405
reviewed
Jan 16, 2026
| NavigableMap<Long, ExternalSpillableMap<String, HoodieRecordGlobalLocation>> subMap; | ||
| if (checkpointId == Long.MAX_VALUE) { | ||
| // clean all the cache entries for old checkpoint ids, and only keeps the cache for the maximum checkpoint id, | ||
| // which aims to clear memory while also ensuring a certain cache hit rate |
Contributor
There was a problem hiding this comment.
do we have a memory threshold for the cache that can check against?
danny0405
reviewed
Jan 16, 2026
...tasource/hudi-flink/src/main/java/org/apache/hudi/sink/partitioner/BucketAssignOperator.java
Outdated
Show resolved
Hide resolved
6a6052c to
0f347cf
Compare
0f347cf to
aa3f99a
Compare
danny0405
approved these changes
Jan 19, 2026
alexr17
pushed a commit
to alexr17/hudi
that referenced
this pull request
Jan 30, 2026
alexr17
pushed a commit
to alexr17/hudi
that referenced
this pull request
Feb 5, 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
fixes #17700
Summary and Changelog
BucketAssignOperatorto support set upCorrespondent.CorrespondentintoMiniBatchBucketAssignOperator.RecordLevelIndexBackend.Impact
Support coordination between bucket assign operator and coordianator.
Risk Level
low.
Documentation Update
Contributor's checklist