Vladislav Pyatkov created IGNITE-20875:
------------------------------------------

             Summary: Add enlistment consistency token to 
PrimaryReplicaTestRequest interface
                 Key: IGNITE-20875
                 URL: https://issues.apache.org/jira/browse/IGNITE-20875
             Project: Ignite
          Issue Type: Improvement
            Reporter: Vladislav Pyatkov


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.



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

Reply via email to