You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Ethan Guo (Jira)" <ji...@apache.org> on 2023/02/16 05:55:00 UTC
[jira] [Updated] (HUDI-3661) Flink async compaction is not thread safe when use watermark
[ https://issues.apache.org/jira/browse/HUDI-3661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ethan Guo updated HUDI-3661:
----------------------------
Fix Version/s: (was: 0.13.0)
> Flink async compaction is not thread safe when use watermark
> ------------------------------------------------------------
>
> Key: HUDI-3661
> URL: https://issues.apache.org/jira/browse/HUDI-3661
> Project: Apache Hudi
> Issue Type: Bug
> Reporter: hd zhou
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.12.2
>
> Attachments: image-2022-03-18-19-38-39-257.png
>
>
> async compaction will start a executor async compaciton and send compaction result message to next flink operator. But collector.collect() is not a threadsafe function. when use watermark or latencyMarker, they both call collector.collect() may cause issue.
> we should not let async compaction = false
>
> !image-2022-03-18-19-38-39-257.png!
>
>
> !https://git.bilibili.co/datacenter/bili-hudi/uploads/79608d01b0301de84d1d9e3cf24f1d21/image.png!
>
> !https://git.bilibili.co/datacenter/bili-hudi/uploads/e9c2f27d395e708a407bcf40f672c870/image.png!
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)