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

Alexander Lapin updated IGNITE-20616:
-------------------------------------
    Description: 
h3. Motivation

ensureReplicaIsPrimary by design should check whether replica is primary 
instead of await one, thus corresponding awaitPrimaryReplica call within 
BuildIndexReplicaRequest processing should be substituted with 
getPrimaryReplica counterpart. Please be aware that getPrimaryReplica may 
return null if there's no primary replica for the requested point in time.

> ensureReplicaIsPrimary should use getPrimaryReplica instead of 
> awaitPrimaryReplica
> ----------------------------------------------------------------------------------
>
>                 Key: IGNITE-20616
>                 URL: https://issues.apache.org/jira/browse/IGNITE-20616
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Alexander Lapin
>            Priority: Major
>
> h3. Motivation
> ensureReplicaIsPrimary by design should check whether replica is primary 
> instead of await one, thus corresponding awaitPrimaryReplica call within 
> BuildIndexReplicaRequest processing should be substituted with 
> getPrimaryReplica counterpart. Please be aware that getPrimaryReplica may 
> return null if there's no primary replica for the requested point in time.



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

Reply via email to