You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Pereslegin (Jira)" <ji...@apache.org> on 2024/07/12 12:38:00 UTC
[jira] [Updated] (IGNITE-22722) Add the ability to get assignments for a list of replication groups at once.
[ 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)