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

Alexander Lapin updated IGNITE-24375:
-------------------------------------
    Description: 
h3. Motivation

Instead of table assignments, PD should track zone assignments: ones with 
prefix zones ZoneRebalanceUtil#PENDING_ASSIGNMENTS_PREFIX and thus elect one of 
zone's replicas as primary one. Please pay attention that colocation specific 
PrimaryReplicaChangeCommand processing is expected to be implemented in 
separate ticket IGNITE-24374
h3. Definition of Done
 * Instead of TestPlacementDriver common one is used in majority of colocation 
tests. Some tests require primary replica changes that are easier to enforce 
using test placement driver.
 * Depending on whether collocation is enabled or not PD tracks either zone's 
assignments or table's ones. Not sure whether it's better to switch that inside 
PD or start different PD within Ignite Node start procedure.

  was:
h3. Motivation

Instead of table assignments, PD should track zone assignments: ones with 
prefix zones ZoneRebalanceUtil#PENDING_ASSIGNMENTS_PREFIX and thus elect one of 
zone's replicas as primary one. Please pay attention that colocation specific 
PrimaryReplicaChangeCommand processing is expected to be implemented in 
separate ticket 
[IGNITE-24374|https://issues.apache.org/jira/browse/IGNITE-24374]


> Adjust PlacementDriver to track zone's assignments instead of table ones if 
> colocation feature flag is enabled
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-24375
>                 URL: https://issues.apache.org/jira/browse/IGNITE-24375
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Alexander Lapin
>            Priority: Major
>              Labels: ignite-3
>
> h3. Motivation
> Instead of table assignments, PD should track zone assignments: ones with 
> prefix zones ZoneRebalanceUtil#PENDING_ASSIGNMENTS_PREFIX and thus elect one 
> of zone's replicas as primary one. Please pay attention that colocation 
> specific PrimaryReplicaChangeCommand processing is expected to be implemented 
> in separate ticket IGNITE-24374
> h3. Definition of Done
>  * Instead of TestPlacementDriver common one is used in majority of 
> colocation tests. Some tests require primary replica changes that are easier 
> to enforce using test placement driver.
>  * Depending on whether collocation is enabled or not PD tracks either zone's 
> assignments or table's ones. Not sure whether it's better to switch that 
> inside PD or start different PD within Ignite Node start procedure.



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

Reply via email to