You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/01/02 23:21:33 UTC

[GitHub] lamber-ken commented on issue #7396: [FLINK-11250][streaming] fix thread lack when StreamTask switched from DEPLOYING to CANCELING

lamber-ken commented on issue #7396: [FLINK-11250][streaming] fix thread lack when StreamTask switched from DEPLOYING to CANCELING
URL: https://github.com/apache/flink/pull/7396#issuecomment-451015990
 
 
   Hi, @zentol, I think just lazy init streamRecordWriters will solve the bug, but the `StreamTaskCancellationBarrierTest#testEmitCancellationBarrierWhenNotReady` test failed caused the travis failure.
   So I checked what wrong. I find that because of the rework of Flinkā€™s Network Stack from flink-1.5.0 version.
   before flink-1.5.0 version, the `CancelCheckpointMarker message` was send by `ResultPartitionWriter`
   after flink-1.5.0 version, the `CancelCheckpointMarker message` was uniformly broadcasted by `StreamRecordWriter` which inited in StreamTask's constructor.
   
   So, I need to rethink how to solve this problem, It would be nice if I could give me some advice.
   
   Best, lamber-ken

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services