You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladislav Pyatkov (Jira)" <ji...@apache.org> on 2023/11/16 17:16:00 UTC
[jira] [Created] (IGNITE-20875) Add enlistment consistency token to PrimaryReplicaTestRequest interface
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)