You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexander Lapin (Jira)" <ji...@apache.org> on 2023/10/11 06:31:00 UTC

[jira] [Updated] (IGNITE-20616) ensureReplicaIsPrimary should use getPrimaryReplica instead of awaitPrimaryReplica

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

Alexander Lapin updated IGNITE-20616:
-------------------------------------
    Ignite Flags:   (was: Docs Required,Release Notes Required)

> 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)