denis-chudov commented on code in PR #2867:
URL: https://github.com/apache/ignite-3/pull/2867#discussion_r1423755534
##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/TableManager.java:
##########
@@ -1057,9 +1079,8 @@ private CompletableFuture<?> createTableLocally(long
causalityToken, int catalog
// Check if the table already has assignments in the vault.
// So, it means, that it is a recovery process and we should use
the vault assignments instead of calculation for the new ones.
- // TODO: IGNITE-20210 Fix it
- if (partitionAssignments(vaultManager, tableId, 0) != null) {
- assignmentsFuture =
completedFuture(tableAssignments(vaultManager, tableId,
zoneDescriptor.partitions()));
+ if (partitionAssignments(metaStorageMgr, tableId, 0,
causalityToken) != null) {
Review Comment:
because if we have some partitions, there is definitely a one with id=0?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]