hd zhou created HUDI-3661:
-----------------------------

             Summary: flink async compaction is not threadsafe when use 
watermark
                 Key: HUDI-3661
                 URL: https://issues.apache.org/jira/browse/HUDI-3661
             Project: Apache Hudi
          Issue Type: Bug
            Reporter: hd zhou
         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.1#820001)

Reply via email to