[
https://issues.apache.org/jira/browse/IGNITE-20616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexander Lapin updated IGNITE-20616:
-------------------------------------
Labels: ignite-3 (was: )
> 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
> Assignee: Kirill Tkalenko
> Priority: Major
> Labels: ignite-3
> Fix For: 3.0.0-beta2
>
>
> 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)