[
https://issues.apache.org/jira/browse/IGNITE-24380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexander Lapin updated IGNITE-24380:
-------------------------------------
Description:
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.
was:
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 dependecies.
> 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
> 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)