You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Nikita Amelchev (Jira)" <ji...@apache.org> on 2024/11/29 18:26:00 UTC

[jira] [Updated] (IGNITE-21001) Thin client: cluster group returns cached nodes after cluster restart

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

Nikita Amelchev updated IGNITE-21001:
-------------------------------------
    Release Note: Java Thin Client: Fixed stale client cluster group data after cluster restart.

> Thin client: cluster group returns cached nodes after cluster restart
> ---------------------------------------------------------------------
>
>                 Key: IGNITE-21001
>                 URL: https://issues.apache.org/jira/browse/IGNITE-21001
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Nikita Amelchev
>            Assignee: Mikhail Petrov
>            Priority: Critical
>              Labels: ise
>             Fix For: 2.17
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> When a client requests information about cluster nodes, it sends the version of the topology for which it received a list of cluster nodes the previous time.
> And if the client's version of the topology matches the one currently on the server, then the server does not send the list of cluster nodes back to the client. Like the client knows everything itself.
> But after full cluster restart, the topology version may not change. But the nodes will be different.
> The reproducer:
> {noformat}
>     @Test
>     public void testClusterGroup() throws Exception {
>         IgniteEx srv = startGrid(0);
>         try (IgniteClient client = startClient(0)) {
>             assertTrue(client.cluster().nodes().contains(srv.localNode()));
>             stopAllGrids();
>             srv = startGrid(0);
>             assertTrue(client.cluster().nodes().contains(srv.localNode()));
>         }
>     }
> {noformat}



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