[ 
https://issues.apache.org/jira/browse/IGNITE-17378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergey Uttsel reassigned IGNITE-17378:
--------------------------------------

    Assignee: Sergey Uttsel

> Check the replica is a primary before processing request at Replica
> -------------------------------------------------------------------
>
>                 Key: IGNITE-17378
>                 URL: https://issues.apache.org/jira/browse/IGNITE-17378
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Vladislav Pyatkov
>            Assignee: Sergey Uttsel
>            Priority: Major
>              Labels: ignite-3, transaction3_rw
>
> Need to check that a current leader and a leader from request are equals on 
> Replica#processRequest. For this purpose we need to useĀ  
> RaftGroupService#refreshAndGetLeaderWithTerm in InternalTableImpl#enlist, 
> send Leader and Term with request and compare it in Replica#processRequest. 
> If they not equals then need to throw PrimaryReplicaMissException.



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

Reply via email to