anton-vinogradov commented on code in PR #10603:
URL: https://github.com/apache/ignite/pull/10603#discussion_r1153222296


##########
modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/IgniteClusterSnapshotRestoreWithIndexingTest.java:
##########
@@ -76,8 +76,11 @@ public void testBasicClusterSnapshotRestore() throws 
Exception {
 
         grid(0).snapshot().restoreSnapshot(SNAPSHOT_NAME, 
Collections.singleton(DEFAULT_CACHE_NAME)).get(TIMEOUT);
 
+        if (onlyPrimary)
+            awaitPartitionMapExchange();

Review Comment:
   More detailed explanation is required here.
   Primary only case will restore only primary partitions on nodes and 
subsequent rebalance will be required to reatore backup partitions?



##########
modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/IgniteClusterSnapshotRestoreWithIndexingTest.java:
##########
@@ -76,8 +76,11 @@ public void testBasicClusterSnapshotRestore() throws 
Exception {
 
         grid(0).snapshot().restoreSnapshot(SNAPSHOT_NAME, 
Collections.singleton(DEFAULT_CACHE_NAME)).get(TIMEOUT);
 
+        if (onlyPrimary)
+            awaitPartitionMapExchange();

Review Comment:
   More detailed explanation is required here.
   Primary only case will restore only primary partitions on nodes and 
subsequent rebalance will be required to restore backup partitions?



-- 
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]

Reply via email to