[ 
https://issues.apache.org/jira/browse/IGNITE-20616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17776590#comment-17776590
 ] 

Alexander Lapin commented on IGNITE-20616:
------------------------------------------

[[email protected]] LGTM

> ensureReplicaIsPrimary should use getPrimaryReplica instead of 
> awaitPrimaryReplica
> ----------------------------------------------------------------------------------
>
>                 Key: IGNITE-20616
>                 URL: https://issues.apache.org/jira/browse/IGNITE-20616
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Alexander Lapin
>            Assignee: Kirill Tkalenko
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.0.0-beta2
>
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> 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