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

Pavel Tupitsyn updated IGNITE-19827:
------------------------------------
    Description: 
There is a confusion between *Local Node ID* (which we get from 
protocolContext().clusterNode().id()) and *Consistent Node ID* (which is the 
same as Node Name, comes from protocolContext().clusterNode().name()). 
Partition assignment (returned by ClientTablePartitionAssignmentGetRequest on 
the server) is based on *Consistent Node ID*.

All partition awareness tests use FakeServer, so we never tested that it 
actually works.

  was:
There is a confusion between *Local Node ID* (which we get from 
ConnectionContext.ClusterNode.Id) and *Consistent Node ID* (which is the same 
as Node Name, comes from ConnectionContext.ClusterNode.Name). Partition 
assignment (returned by ClientTablePartitionAssignmentGetRequest on the server) 
is based on *Consistent Node ID*.

All partition awareness tests use FakeServer, so we never tested that it 
actually works.


> Java thin 3.0: Partition awareness uses wrong node id
> -----------------------------------------------------
>
>                 Key: IGNITE-19827
>                 URL: https://issues.apache.org/jira/browse/IGNITE-19827
>             Project: Ignite
>          Issue Type: Bug
>          Components: thin client
>    Affects Versions: 3.0.0-beta1
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>            Priority: Blocker
>              Labels: ignite-3
>             Fix For: 3.0.0-beta2
>
>
> There is a confusion between *Local Node ID* (which we get from 
> protocolContext().clusterNode().id()) and *Consistent Node ID* (which is the 
> same as Node Name, comes from protocolContext().clusterNode().name()). 
> Partition assignment (returned by ClientTablePartitionAssignmentGetRequest on 
> the server) is based on *Consistent Node ID*.
> All partition awareness tests use FakeServer, so we never tested that it 
> actually works.



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

Reply via email to