SEZ9 commented on issue #13452:
URL: https://github.com/apache/seatunnel/issues/13452#issuecomment-7230169754

   Thanks @Thufayl for confirming this and for following up with a fix.
   
   The approach you describe lines up with both parts of the earlier point:
   
   - **Reconnect budget:** resetting the counter only after the handshake and 
all open messages succeed should stop a rejected open-message send from 
restarting at attempt 1 and retrying past `max_reconnect_times`.
   - **Stale send error:** clearing the recorded send failure when the next 
attempt is scheduled should stop an error from an earlier attempt being 
reported as the terminal one.
   
   Two things to confirm in the PR you opened, so the review can go quickly:
   
   1. Does the first test assert that repeated open-message send rejections 
stop after exactly `max_reconnect_times` attempts and then fail the source, 
rather than only checking that the counter is not reset?
   2. Does the second test assert that the terminal error is the one from the 
final attempt, in a case where an earlier attempt failed on send and a later 
one failed for a different reason?
   
   If both are already covered, please point to the test names in the PR 
description. We'll continue the detailed review there and keep this issue open 
until the fix is merged.
   
   <!-- streview-comment:2668 -->


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