EMsnap opened a new pull request, #7856:
URL: https://github.com/apache/inlong/pull/7856

   ### Prepare a Pull Request
   - Fixes #7855 
   
   ### Motivation
   
    Fix Sort hang up reader in snapshot phase when reducing parallelism
   
   1、When a subtask receives two chunk splits to read;
   2、The first chunk reads perfectly, and then it will start a BinlogClient to 
read the binlogs from lw to hw in chunk1. 
   3、When the second chunk arrives the BinlogClient will be reused
   4、So when reading chunk2 and start to read from lw to hw in chunk2, the 
binlog reader will be reused and the event listener in chunk1 will be reused 
also. So that the BINLOG_END event in chunk2 will never be received  
   
   ### Modifications
   
   remove the eventListener in the formal chunk 
   
   ### Documentation
   
     - Does this pull request introduce a new feature? (no)


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to