DarvenDuan commented on issue #100:
URL: 
https://github.com/apache/doris-flink-connector/issues/100#issuecomment-1431320283

   > > But method DorisStreamLoad.handlePreCommitResponse() may be invoked by 
exception checker thread before loading is set to true by main thread.
   > 
   > In the **checkdone** method, when loading is false, it will be skipped 
directly, should this problem be avoided?
   
   Thank you for your replay, I'm sorry that my description had something 
wrong, it should be "But method `DorisStreamLoad.handlePreCommitResponse()` may 
be invoked by exception checker thread before `loading` is set to `false` by 
main thread" , Exactly InterruptException may be cased by 
`dorisStreamLoad.getPendingLoadFuture()`.
   
   When doing checkpoint, method `dorisStreamLoad.startLoad()`  will be invoked 
and changes `pendingLoadFuture`, but in `checkDone()` 
`dorisStreamLoad.getPendingLoadFuture()` may get old pendingLoadFuture.
   
   PR #102 may fix this problem? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to