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

Sergey Uttsel updated IGNITE-19506:
-----------------------------------
    Description: 
h3. *Motivation*

Need to use data nodes from DistributionZoneManager instead of 
BaselineManager#nodes in all places except of in-memory raft 
(TableManager#calculateAssignments)

We need to get data nodes consistently so we need to use revision of 
configuration events and a meta storage events as causality token.

Description of causality data nodes algorithm is attached.
h3. *Definition of Done*

Implement method DistributionZoneManager#dataNodes to obtaining data nodes from 
zone manager with causality token.

Use this method instead of BaselineManager#nodes.

  was:
h3. *Motivation*

Need to use data nodes from DistributionZoneManager instead of 
BaselineManager#nodes in:
 # DistributionZoneRebalanceEngine#onUpdateReplicas
 # TableManager#createAssignmentsSwitchRebalanceListener

We need to get data nodes consistently so we need to use revision of 
configuration events and a meta storage events as causality token. Also need to 
use VersionedValue to save data nodes with causality token.

Description of causality data nodes algorithm is attached.
h3. *Definition of Done*

DistributionZoneRebalanceEngine#onUpdateReplicas and 
TableManager#createAssignmentsSwitchRebalanceListener use data nodes from 
DistributionZoneManager


> Use data nodes from DistributionZoneManager with a causality token instead of 
> BaselineManager#nodes
> ---------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-19506
>                 URL: https://issues.apache.org/jira/browse/IGNITE-19506
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Sergey Uttsel
>            Assignee: Sergey Uttsel
>            Priority: Major
>              Labels: ignite-3
>         Attachments: Causality data nodes.docx
>
>          Time Spent: 5h 20m
>  Remaining Estimate: 0h
>
> h3. *Motivation*
> Need to use data nodes from DistributionZoneManager instead of 
> BaselineManager#nodes in all places except of in-memory raft 
> (TableManager#calculateAssignments)
> We need to get data nodes consistently so we need to use revision of 
> configuration events and a meta storage events as causality token.
> Description of causality data nodes algorithm is attached.
> h3. *Definition of Done*
> Implement method DistributionZoneManager#dataNodes to obtaining data nodes 
> from zone manager with causality token.
> Use this method instead of BaselineManager#nodes.



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

Reply via email to