[jira] [Updated] (IGNITE-21202) Use node ID instead of node name to identify primary node in client primary replica tracker

2024-01-16 Thread Pavel Tupitsyn (Jira)


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

Pavel Tupitsyn updated IGNITE-21202:

Ignite Flags:   (was: Docs Required,Release Notes Required)

> 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
>Assignee: Pavel Tupitsyn
>Priority: Major
>  Labels: ignite-3
> Fix For: 3.0.0-beta2
>
>
> 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 are using the deprecated property, but we should use the 
> leasholder ID.
> {code:java}
> updatePrimaryReplica(tablePartitionId, primaryReplicaEvent.startTime(), 
> primaryReplicaEvent.leaseholder()); {code}
>  # The lesholder property should be removed from the event parameters.



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


[jira] [Updated] (IGNITE-21202) Use node ID instead of node name to identify primary node in client primary replica tracker

2024-01-16 Thread Pavel Tupitsyn (Jira)


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

Pavel Tupitsyn updated IGNITE-21202:

Component/s: thin client

> 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
>  Components: thin client
>Reporter: Vladislav Pyatkov
>Assignee: Pavel Tupitsyn
>Priority: Major
>  Labels: ignite-3
> Fix For: 3.0.0-beta2
>
>
> 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 are using the deprecated property, but we should use the 
> leasholder ID.
> {code:java}
> updatePrimaryReplica(tablePartitionId, primaryReplicaEvent.startTime(), 
> primaryReplicaEvent.leaseholder()); {code}
>  # The lesholder property should be removed from the event parameters.



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


[jira] [Updated] (IGNITE-21202) Use node ID instead of node name to identify primary node in client primary replica tracker

2024-01-16 Thread Pavel Tupitsyn (Jira)


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

Pavel Tupitsyn updated IGNITE-21202:

Fix Version/s: 3.0.0-beta2

> 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
>Assignee: Pavel Tupitsyn
>Priority: Major
>  Labels: ignite-3
> Fix For: 3.0.0-beta2
>
>
> 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 are using the deprecated property, but we should use the 
> leasholder ID.
> {code:java}
> updatePrimaryReplica(tablePartitionId, primaryReplicaEvent.startTime(), 
> primaryReplicaEvent.leaseholder()); {code}
>  # The lesholder property should be removed from the event parameters.



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


[jira] [Updated] (IGNITE-21202) Use node ID instead of node name to identify primary node in client primary replica tracker

2024-01-04 Thread Vladislav Pyatkov (Jira)


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

Vladislav Pyatkov updated IGNITE-21202:
---
Description: 
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 are using the deprecated property, but we should use the leasholder 
ID.
{code:java}
updatePrimaryReplica(tablePartitionId, primaryReplicaEvent.startTime(), 
primaryReplicaEvent.leaseholder()); {code}
 # The lesholder property should be removed from the event parameters.

  was:
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 are using the deprecated property, but we should use the leasholder 
ID.
{code:java}
updatePrimaryReplica(tablePartitionId, primaryReplicaEvent.startTime(), 
primaryReplicaEvent.leaseholder()); {code}

 # The lesholder property should be removed from the event parameters.


> 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
>Priority: Major
>  Labels: ignite-3
>
> 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 are using the deprecated property, but we should use the 
> leasholder ID.
> {code:java}
> updatePrimaryReplica(tablePartitionId, primaryReplicaEvent.startTime(), 
> primaryReplicaEvent.leaseholder()); {code}
>  # The lesholder property should be removed from the event parameters.



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


[jira] [Updated] (IGNITE-21202) Use node ID instead of node name to identify primary node in client primary replica tracker

2024-01-04 Thread Vladislav Pyatkov (Jira)


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

Vladislav Pyatkov updated IGNITE-21202:
---
Description: 
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 are using the deprecated property, but we should use the leasholder 
ID.
{code:java}
updatePrimaryReplica(tablePartitionId, primaryReplicaEvent.startTime(), 
primaryReplicaEvent.leaseholder()); {code}

 # The lesholder property should be removed from the event parameters.

  was:
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 are using the deprecated property, but we should use the leasholder 
ID.
{code}
String leaseholderName = 
topologyService.getById(primaryReplicaEvent.leaseholderId()).name();

updatePrimaryReplica(tablePartitionId, primaryReplicaEvent.startTime(), 
leaseholderName);
{code}
# The lesholder property should be removed from the event parameters.


> 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
>Priority: Major
>  Labels: ignite-3
>
> 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 are using the deprecated property, but we should use the 
> leasholder ID.
> {code:java}
> updatePrimaryReplica(tablePartitionId, primaryReplicaEvent.startTime(), 
> primaryReplicaEvent.leaseholder()); {code}
>  # The lesholder property should be removed from the event parameters.



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


[jira] [Updated] (IGNITE-21202) Use node ID instead of node name to identify primary node in client primary replica tracker

2024-01-04 Thread Vladislav Pyatkov (Jira)


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

Vladislav Pyatkov updated IGNITE-21202:
---
Description: 
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 are using the deprecated property, but we should use the leasholder 
ID.
{code}
String leaseholderName = 
topologyService.getById(primaryReplicaEvent.leaseholderId()).name();

updatePrimaryReplica(tablePartitionId, primaryReplicaEvent.startTime(), 
leaseholderName);
{code}
# The lesholder property should be removed from the event parameters.

  was:
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}


> 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
>Priority: Major
>  Labels: ignite-3
>
> 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 are using the deprecated property, but we should use the leasholder 
> ID.
> {code}
> String leaseholderName = 
> topologyService.getById(primaryReplicaEvent.leaseholderId()).name();
> updatePrimaryReplica(tablePartitionId, primaryReplicaEvent.startTime(), 
> leaseholderName);
> {code}
> # The lesholder property should be removed from the event parameters.



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


[jira] [Updated] (IGNITE-21202) Use node ID instead of node name to identify primary node in client primary replica tracker

2024-01-04 Thread Vladislav Pyatkov (Jira)


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

Vladislav Pyatkov updated IGNITE-21202:
---
Description: 
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}

  was:
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}


> 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
>Priority: Major
>  Labels: ignite-3
>
> 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)