[
https://issues.apache.org/jira/browse/IGNITE-22722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Pereslegin updated IGNITE-22722:
--------------------------------------
Description:
At the moment, it is not possible to get assignments for several replication
groups at once.
{{AssignmentsPlacementDriver}} has the following method only to get assignments.
{code:java}
CompletableFuture<TokenizedAssignments> getAssignments(ReplicationGroupId
replicationGroupId, HybridTimestamp clusterTimeToAwait);
{code}
But sometimes you need to get assignments for a list of several replication
groups, so it would be nice to have a separate method for this, something like
the following:
{code:java}
CompletableFuture<List<TokenizedAssignments>>
getAssignments(List<ReplicationGroupId> replicationGroupId, HybridTimestamp
clusterTimeToAwait);
{code}
was:
At the moment, it is not possible to get assignments for several replication
groups at once.
{{AssignmentsPlacementDriver}} has the following method only to get assignments.
{code:java}
CompletableFuture<TokenizedAssignments> getAssignments(ReplicationGroupId
replicationGroupId, HybridTimestamp clusterTimeToAwait);
{code}
But sometimes you need to get assignments for a list of several replication
groups, so it And it would be nice to have a separate method for this,
something like the following:
{code:java}
CompletableFuture<List<TokenizedAssignments>>
getAssignments(List<ReplicationGroupId> replicationGroupId, HybridTimestamp
clusterTimeToAwait);
{code}
> Add the ability to get assignments for a list of replication groups at once.
> ----------------------------------------------------------------------------
>
> Key: IGNITE-22722
> URL: https://issues.apache.org/jira/browse/IGNITE-22722
> Project: Ignite
> Issue Type: Improvement
> Components: sql
> Reporter: Pavel Pereslegin
> Priority: Major
> Labels: ignite-3
>
> At the moment, it is not possible to get assignments for several replication
> groups at once.
> {{AssignmentsPlacementDriver}} has the following method only to get
> assignments.
> {code:java}
> CompletableFuture<TokenizedAssignments> getAssignments(ReplicationGroupId
> replicationGroupId, HybridTimestamp clusterTimeToAwait);
> {code}
> But sometimes you need to get assignments for a list of several replication
> groups, so it would be nice to have a separate method for this, something
> like the following:
> {code:java}
> CompletableFuture<List<TokenizedAssignments>>
> getAssignments(List<ReplicationGroupId> replicationGroupId, HybridTimestamp
> clusterTimeToAwait);
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)