[ 
https://issues.apache.org/jira/browse/IGNITE-26316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roman Puchkovskiy updated IGNITE-26316:
---------------------------------------
    Description: 
HandshakeEventLoopSwitcher:
{code:java}
targetEventLoop.register(channel).addListener(registrationFuture -> {
    if (!registrationFuture.isSuccess()) {
        LOG.error("Cannot register a channel with an event loop", 
registrationFuture.cause());

        fut.completeExceptionally(deregistrationFuture.cause());

        channel.close();

        return;
    } {code}
Here, a wrong future ({*}de{*}registrationFuture instead of registrationFuture) 
is used to obtain the cause of the failure.

> Failure cause is taken from a wrong future on event loop switch failure
> -----------------------------------------------------------------------
>
>                 Key: IGNITE-26316
>                 URL: https://issues.apache.org/jira/browse/IGNITE-26316
>             Project: Ignite
>          Issue Type: Bug
>          Components: network ai3
>            Reporter: Roman Puchkovskiy
>            Assignee: Roman Puchkovskiy
>            Priority: Major
>              Labels: MakeTeamcityGreenAgain, ignite-3
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> HandshakeEventLoopSwitcher:
> {code:java}
> targetEventLoop.register(channel).addListener(registrationFuture -> {
>     if (!registrationFuture.isSuccess()) {
>         LOG.error("Cannot register a channel with an event loop", 
> registrationFuture.cause());
>         fut.completeExceptionally(deregistrationFuture.cause());
>         channel.close();
>         return;
>     } {code}
> Here, a wrong future ({*}de{*}registrationFuture instead of 
> registrationFuture) is used to obtain the cause of the failure.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to