csurong commented on PR #18736:
URL: 
https://github.com/apache/dolphinscheduler/pull/18736#issuecomment-6556259024

   Thanks @ruanwenjun, updated in 8c8a2e2. I've removed `finishedTime` and now 
use the terminal event's creation time, with a 6h default on both Master and 
Worker.
   
   I kept the preceding events until that deadline because they can be 
prerequisites: if an undelivered DISPATCHED expires first, the Master can 
remain in SUBMITTED_SUCCESS and ignore a later SUCCESS while still ACKing it. 
So the reporter keeps retrying in order, then discards the whole pending 
channel when the terminal event expires. I've added an integration test for 
this sequence.
   
   The ordering change makes sure execution tracking stops before the 
terminal-event listener can finalize the executor and release its slot. The 
targeted tests pass locally.


-- 
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