You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Roman Puchkovskiy (Jira)" <ji...@apache.org> on 2025/03/04 06:51:00 UTC
[jira] [Assigned] (IGNITE-24380) Move PartitionReplicaListener#ensureReplicaIsPrimary to ZonePartitionReplicaListener
[ https://issues.apache.org/jira/browse/IGNITE-24380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roman Puchkovskiy reassigned IGNITE-24380:
------------------------------------------
Assignee: Roman Puchkovskiy (was: Alexander Lapin)
> Move PartitionReplicaListener#ensureReplicaIsPrimary to ZonePartitionReplicaListener
> ------------------------------------------------------------------------------------
>
> Key: IGNITE-24380
> URL: https://issues.apache.org/jira/browse/IGNITE-24380
> Project: Ignite
> Issue Type: Improvement
> Reporter: Alexander Lapin
> Assignee: Roman Puchkovskiy
> Priority: Major
> Labels: ignite-3
>
> h3. Motivation
> Some replica requests are expected to be processed on primary replica only, e.g. all RW requests. Some requests will behave differently regarding on whether they are handled on primary or not. Thus we should move ensureReplicaIsPrimary to ZonePartitionReplicaListener and eliminate corresponding checks on PartitionReplicaListener side in case of colocation track.
> h3. Definition of Done
> * PartitionReplicaListener#ensureReplicaIsPrimary copied to ZonePartitionReplicaListener along with all dependencies.
> * ensureReplicaIsPrimary call is skipped on the PartitionReplicaListener in case of collocation track.
> * Corresponding tests are written in order to check that PrimaryReplicaMissException is thrown.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)