ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Aleksandrov (Jira)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-13381) ClusterGroupEmptyException: Cluster group is empty error after client reconnect
Date Mon, 24 Aug 2020 11:36:00 GMT
Andrey Aleksandrov created IGNITE-13381:
-------------------------------------------

             Summary: 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
             Fix For: 2.9
         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)

Mime
View raw message