[
https://issues.apache.org/jira/browse/IGNITE-21911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mirza Aliev updated IGNITE-21911:
---------------------------------
Description:
h3. Motivation
In https://issues.apache.org/jira/browse/IGNITE-21858 we have agreed to
decompose original task to several subtasks.
In this ticket we need to provide a decorator for Placement Driver, which will
accept ZonePartitionId with tableId and will force primary replica to wait for
it state event if lease for ZonePartitionId is accepted.
Also all places in {{org.apache.ignite.internal.index.ChangeIndexStatusTask}}
and {{org.apache.ignite.internal.index.IndexBuildController}} where old PD API
where used must be changed to new methods from the decorator
h3. Definition of done
* Decorator for Placement Driver is created
* Places in index module where {{PlacementDriver#awaitPrimaryReplica}} where
used must be changed to new method from the decorator
was:
In https://issues.apache.org/jira/browse/IGNITE-21858 we have agreed to
decompose original task to several subtasks.
In this ticket we need to provide a decorator for Placement Driver, which will
accept ZonePartitionId with tableId and will force primary replica to wait for
it state event if lease for ZonePartitionId is accepted.
Also all places in {{org.apache.ignite.internal.index.ChangeIndexStatusTask}}
and {{org.apache.ignite.internal.index.IndexBuildController}} where old PD API
where used must be changed to new methods from the decorator
> Change API usage of Placement driver in Index module from TablePartitionId to
> ZonePartitionId
> ---------------------------------------------------------------------------------------------
>
> Key: IGNITE-21911
> URL: https://issues.apache.org/jira/browse/IGNITE-21911
> Project: Ignite
> Issue Type: Improvement
> Reporter: Mirza Aliev
> Assignee: Mirza Aliev
> Priority: Major
> Labels: ignite-3
> Time Spent: 10m
> Remaining Estimate: 0h
>
> h3. Motivation
> In https://issues.apache.org/jira/browse/IGNITE-21858 we have agreed to
> decompose original task to several subtasks.
> In this ticket we need to provide a decorator for Placement Driver, which
> will accept ZonePartitionId with tableId and will force primary replica to
> wait for it state event if lease for ZonePartitionId is accepted.
> Also all places in {{org.apache.ignite.internal.index.ChangeIndexStatusTask}}
> and {{org.apache.ignite.internal.index.IndexBuildController}} where old PD
> API where used must be changed to new methods from the decorator
> h3. Definition of done
> * Decorator for Placement Driver is created
> * Places in index module where {{PlacementDriver#awaitPrimaryReplica}} where
> used must be changed to new method from the decorator
--
This message was sent by Atlassian Jira
(v8.20.10#820010)