You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Maxim Muzafarov (Jira)" <ji...@apache.org> on 2020/12/29 08:58:12 UTC

[jira] [Updated] (IGNITE-13381) ClusterGroupEmptyException: Cluster group is empty error after client reconnect

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

Maxim Muzafarov updated IGNITE-13381:
-------------------------------------
    Fix Version/s:     (was: 2.10)

> ClusterGroupEmptyException: Cluster group is empty error after client reconnect
> -------------------------------------------------------------------------------
>
>                 Key: IGNITE-13381
>                 URL: https://issues.apache.org/jira/browse/IGNITE-13381
>             Project: Ignite
>          Issue Type: Bug
>          Components: networking
>    Affects Versions: 2.8.1
>            Reporter: Andrey Aleksandrov
>            Assignee: Andrey Aleksandrov
>            Priority: Major
>         Attachments: SendMessageAfterClientReconnect.java
>
>
> Please run the attached test.
> It will produce the following exception:
> Exception in thread "main" class org.apache.ignite.cluster.ClusterGroupEmptyException: Cluster group is empty.
> at org.apache.ignite.internal.util.IgniteUtils$6.apply(IgniteUtils.java:927)
> at org.apache.ignite.internal.util.IgniteUtils$6.apply(IgniteUtils.java:925)
> at org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:1083)
> at org.apache.ignite.internal.IgniteMessagingImpl.send0(IgniteMessagingImpl.java:105)
> at org.apache.ignite.internal.IgniteMessagingImpl.send(IgniteMessagingImpl.java:81)
> at npe.IgnitePartitioningTest.main(IgnitePartitioningTest.java:110)
> Caused by: class org.apache.ignite.internal.cluster.ClusterGroupEmptyCheckedException: Cluster group is empty.
> at org.apache.ignite.internal.util.IgniteUtils.emptyTopologyException(IgniteUtils.java:5106)
> at org.apache.ignite.internal.IgniteMessagingImpl.send0(IgniteMessagingImpl.java:100)
> ... 2 more
> Fix:
> change
> return new ClusterGroupAdapter(ctx, null, Collections.singleton(cfg.getNodeId()));
> on
> return new ClusterGroupAdapter(ctx, null, Collections.singleton(ctx.discovery().localNode().id()));



--
This message was sent by Atlassian Jira
(v8.3.4#803005)