Pavel Pereslegin created IGNITE-22722:
-----------------------------------------

             Summary: 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


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}



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

Reply via email to