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

[jira] [Resolved] (IGNITE-23773) Sql. Remove incorrect fallback from ExecutionDistributionProviderImpl#allReplicas

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

Iurii Gerzhedovich resolved IGNITE-23773.
-----------------------------------------
    Resolution: Duplicate

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