Denis Chudov created IGNITE-23773:
-------------------------------------

             Summary: Remove incorrect fallback from 
ExecutionDistributionProviderImpl#allReplicas
                 Key: IGNITE-23773
                 URL: https://issues.apache.org/jira/browse/IGNITE-23773
             Project: Ignite
          Issue Type: Bug
            Reporter: Denis Chudov


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)

Reply via email to