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

Vladislav Pyatkov updated IGNITE-20875:
---------------------------------------
    Description: 
h3. Motivation
The procedure in the method PartitionReplicaListener#ensureReplicaIsPrimary 
looks not simple because we have no interface that provides the enlistment 
consistency id. But PrimaryReplicaRequest well-suited for the role because it 
is used to determine messages targeted at the primary replica.

h3. Definition of done
All messages that are certain to the primary replica should include the 
PrimaryReplicaTestRequest interface. The interface should have the enlistment 
consistency token internally.

  was:
h3. Motivation
The procedure in the method PartitionReplicaListener#ensureReplicaIsPrimary 
looks not simple because we have no interface that provides the enlistment 
consistency id. But PrimaryReplicaTestRequest well-suited for the role because 
it is used to determine messages targeted at the primary replica.

h3. Definition of done
All messages that are certain to the primary replica should include the 
PrimaryReplicaTestRequest interface. The interface should have the enlistment 
consistency token internally.


> Add enlistment consistency token to PrimaryReplicaRequest interface
> -------------------------------------------------------------------
>
>                 Key: IGNITE-20875
>                 URL: https://issues.apache.org/jira/browse/IGNITE-20875
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Vladislav Pyatkov
>            Priority: Major
>              Labels: ignite-3
>
> h3. Motivation
> The procedure in the method PartitionReplicaListener#ensureReplicaIsPrimary 
> looks not simple because we have no interface that provides the enlistment 
> consistency id. But PrimaryReplicaRequest well-suited for the role because it 
> is used to determine messages targeted at the primary replica.
> h3. Definition of done
> All messages that are certain to the primary replica should include the 
> PrimaryReplicaTestRequest interface. The interface should have the enlistment 
> consistency token internally.



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

Reply via email to