-
Notifications
You must be signed in to change notification settings - Fork 2.5k
[HUDI-5504]Fix concurrency conflict when asyncCompaction is enabled #7609
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,6 +34,7 @@ | |
| import org.apache.flink.configuration.Configuration; | ||
| import org.apache.flink.streaming.api.operators.OneInputStreamOperator; | ||
| import org.apache.flink.streaming.api.watermark.Watermark; | ||
| import org.apache.flink.streaming.runtime.streamrecord.LatencyMarker; | ||
| import org.apache.flink.streaming.runtime.streamrecord.StreamRecord; | ||
| import org.apache.flink.table.runtime.operators.TableStreamOperator; | ||
| import org.apache.flink.table.runtime.util.StreamRecordCollector; | ||
|
|
@@ -102,6 +103,11 @@ public void processWatermark(Watermark mark) { | |
| // no need to propagate the watermark | ||
| } | ||
|
|
||
| @Override | ||
| public void processLatencyMarker(LatencyMarker latencyMarker) { | ||
| // no need to propagate the latencyMarker | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No need to throw exception.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. fixed
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ClusteringOperator fixed in HUDI-5515 |
||
| } | ||
|
|
||
| @Override | ||
| public void processElement(StreamRecord<CompactionPlanEvent> record) throws Exception { | ||
| final CompactionPlanEvent event = record.getValue(); | ||
|
|
||
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.
Unnecessary change.