Vladislav Pyatkov created IGNITE-21202:
------------------------------------------

             Summary: Use node ID instead of node name to identify primary node 
in client primary replica tracker
                 Key: IGNITE-21202
                 URL: https://issues.apache.org/jira/browse/IGNITE-21202
             Project: Ignite
          Issue Type: Improvement
            Reporter: Vladislav Pyatkov


h3. Motivation
Recently, we changed the process of granting leases. This process uses the node 
ID as a leaseholder identifier. The other components should also follow this 
consistently.

h3. Definition of done
Here we resolve a node name by the node ID, but we should use the ID as is.
{code}
String leaseholderName = 
topologyService.getById(primaryReplicaEvent.leaseholderId()).name();
updatePrimaryReplica(tablePartitionId, primaryReplicaEvent.startTime(), 
leaseholderName);
{code}



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

Reply via email to