timoninmaxim commented on code in PR #12169: URL: https://github.com/apache/ignite/pull/12169#discussion_r2192884360
########## modules/core/src/main/java/org/apache/ignite/internal/client/thin/ReliableChannel.java: ########## @@ -243,27 +247,29 @@ private <T> void handleServiceAsync( List<ClientConnectionException> failures ) { try { - applyOnDefaultChannel( - channel -> applyOnClientChannelAsync(fut, channel, op, payloadWriter, payloadReader, failures), - null, - failures - ); + ClientChannel ch = applyOnDefaultChannel(Function.identity(), null, failures); + + applyOnClientChannelAsync(fut, ch, op, payloadWriter, payloadReader, failures); } catch (Throwable ex) { fut.completeExceptionally(ex); } } - /** */ - private <T> Object applyOnClientChannelAsync( + /** + * Performs the operation asynchronously, retrying on the same channel first + * if a ClientConnectionException occurs, then falls back to other channels Review Comment: {@code ClientConnectionException} -- 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: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org