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

Roman Puchkovskiy updated IGNITE-24714:
---------------------------------------
    Description: 
ReplicaPrimacy is not empty in 2 cases:
 # For PrimaryReplicaRequests, it bears non-null leaseStartTime if our node 
holds a lease, and it's not expired, and lease token matches request token
 # For ReadOnlyRequests and safe time propagation requests, it has isPrimary 
equal to true if our node holds a lease

In the second case, we perform less checks. Should we also check that the lease 
is not expired?

> Unify checks for replica primacy
> --------------------------------
>
>                 Key: IGNITE-24714
>                 URL: https://issues.apache.org/jira/browse/IGNITE-24714
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Roman Puchkovskiy
>            Priority: Major
>              Labels: ignite-3
>
> ReplicaPrimacy is not empty in 2 cases:
>  # For PrimaryReplicaRequests, it bears non-null leaseStartTime if our node 
> holds a lease, and it's not expired, and lease token matches request token
>  # For ReadOnlyRequests and safe time propagation requests, it has isPrimary 
> equal to true if our node holds a lease
> In the second case, we perform less checks. Should we also check that the 
> lease is not expired?



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

Reply via email to