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

Kirill Gusakov updated IGNITE-22689:
------------------------------------
    Description: 
*Motivation*
At the moment, table manager listens the assignments changes and then create 
the partition state machines. In the case of zone-based replication, this 
approach is artificial. Tables should know nothing about the assignments now 
and use the events from PartitionReplicaLifecycleManager instead, to initiate 
the process of partition creation/drop in the case of rebalance, for example.

*Definition of done*

Prepare the working algorithm, which satisfy the following flow:
 - PartitionReplicaLifecycleManager fire the events about the zone replica 
create.
 - TableManager listens these events and create target partition
 - At the same time TableManager listens the table creation from catalog and 
load the needed state machines to the zone replicas. All possible races must 
produce correct result.

 

  was:
*Motivation*
At the moment, table manager listens the assignments changes and then create 
the partition state machines. In the case of zone-based replication, this 
approach is artificial. Tables should know nothing about the assignments now 
and use the events from PartitionReplicaLifecycleManager instead, to initiate 
the process of partition creation/drop in the case of rebalance, for example.

*Definition of done*
 - PartitionReplicaLifecycleManager fire the events about the zone replica 
create.
 - TableManager listens these events and create target partition.

 


> Investigate the mechanism for loading table processors on zone replicas start 
> and table creation
> ------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-22689
>                 URL: https://issues.apache.org/jira/browse/IGNITE-22689
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Kirill Gusakov
>            Assignee: Kirill Gusakov
>            Priority: Major
>              Labels: ignite-3
>
> *Motivation*
> At the moment, table manager listens the assignments changes and then create 
> the partition state machines. In the case of zone-based replication, this 
> approach is artificial. Tables should know nothing about the assignments now 
> and use the events from PartitionReplicaLifecycleManager instead, to initiate 
> the process of partition creation/drop in the case of rebalance, for example.
> *Definition of done*
> Prepare the working algorithm, which satisfy the following flow:
>  - PartitionReplicaLifecycleManager fire the events about the zone replica 
> create.
>  - TableManager listens these events and create target partition
>  - At the same time TableManager listens the table creation from catalog and 
> load the needed state machines to the zone replicas. All possible races must 
> produce correct result.
>  



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

Reply via email to