-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[HUDI-4717] CompactionCommitEvent message corrupted when sent by compact_task #6524
base: master
Are you sure you want to change the base?
Conversation
private void sendEventByMailBox(Collector<CompactionCommitEvent> collector, CompactionCommitEvent commitEvent) { | ||
mailboxExecutorAdapter.execute(() -> collector.collect(commitEvent), | ||
"Send compaction commit event by mailbox."); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, we may need to figure out more simpler way for collector
concurrency.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just pushed a new implementaion using AsynFunction of flink.
And fixed the same potential problem in clustering operator.
29b3d89
to
e257940
Compare
@nonggialiang Can you please rebase? |
@nonggialiang After using AsyncFunction to rewrite the asynchronous compaction logic, have you solved the problem described in HUDI-4717? |
Does #7399 solve your problem here ? |
We can provide an empty method |
@danny0405 is this PR still useful? |
yeah, just need to reach concensus. |
…act_task
Change Logs
Use mail-box executor to send compaction-commit-event in CompactFunction.
Impact
Potential bug fixed.
Risk level: none | low | medium | high
Choose one. If medium or high, explain what verification was done to mitigate the risks.
Contributor's checklist