[
https://issues.apache.org/jira/browse/IGNITE-24526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17932245#comment-17932245
]
Roman Puchkovskiy commented on IGNITE-24526:
--------------------------------------------
It is still to be decided what should be done under this issue.
PartitionReplicaListener#processRequest(), apart from logic specific to each
type of request, has some generic duties, but they all are specific to
table-aware requests which processing remains in PartitionReplicaListener, so
these duties should remain in PRL and should not be implemented in
ZonePartitionReplicaListener.
What might be needed to be implemented, however, is introduction of an
interface (like TableReplicaProcessor) that would have handleRequest()
(accepting a request, optional boolean isPrimary and optional long
leaseStartTime) that would call PRL#processRequest(); handleRequest() would be
called from ZPRL after invoking ensureReplicaIsPrimary().
This is to be decided after we decide how we approach IGNITE-24380.
> Move PartitionReplicaListener#processRequest to ZonePartitionReplicaListener
> ----------------------------------------------------------------------------
>
> Key: IGNITE-24526
> URL: https://issues.apache.org/jira/browse/IGNITE-24526
> Project: Ignite
> Issue Type: Improvement
> Reporter: Alexander Lapin
> Assignee: Roman Puchkovskiy
> Priority: Major
> Labels: ignite-3
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)