rpuch commented on code in PR #6694:
URL: https://github.com/apache/ignite-3/pull/6694#discussion_r2402043498
##########
modules/network/src/main/java/org/apache/ignite/internal/network/recovery/RecoveryInitiatorHandshakeManager.java:
##########
@@ -438,7 +436,10 @@ private void
onHandshakeRejectedMessage(HandshakeRejectedMessage msg) {
if (msg.reason() == HandshakeRejectionReason.CLINCH) {
giveUpClinch();
} else {
- localHandshakeCompleteFuture.completeExceptionally(new
HandshakeException(msg.message()));
+ Exception ex = msg.reason() == HandshakeRejectionReason.STOPPING
+ ? new RecipientLeftException(msg.message())
+ : new HandshakeException(msg.message());
+ localHandshakeCompleteFuture.completeExceptionally(ex);
Review Comment:
The code is different now, so this suggestion doesn't seem to be applicable
anymore
--
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]