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

[jira] [Updated] (IGNITE-23773) Remove incorrect fallback from ExecutionDistributionProviderImpl#allReplicas

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

Konstantin Orlov updated IGNITE-23773:
--------------------------------------
    Component/s: sql

> Remove incorrect fallback from ExecutionDistributionProviderImpl#allReplicas
> ----------------------------------------------------------------------------
>
>                 Key: IGNITE-23773
>                 URL: https://issues.apache.org/jira/browse/IGNITE-23773
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>            Reporter: Denis Chudov
>            Priority: Major
>              Labels: ignite-3
>
> After IGNITE-23245 AssignmentsPlacementDriver#getAssignments returns assignments on every node. So the fallback retrieving primary replicas is not needed anymore.
> Moreover, it's incorrect: 
> - on AssignmentsPlacementDriver#getAssignments the token of 
> TokenizedAssignments is meta storage revision;
> - on ExecutionDistributionProviderImpl#primaryReplica the lease start time is used as the token;
> So the tokens from regular assignments and from primary replica callback can't be compared as their represent different things.



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