Cyrill commented on code in PR #4966: URL: https://github.com/apache/ignite-3/pull/4966#discussion_r1898886648
########## modules/table/src/integrationTest/java/org/apache/ignite/internal/disaster/ItDisasterRecoveryReconfigurationTest.java: ########## @@ -1542,12 +1851,25 @@ private List<Integer> getRealAssignments(IgniteImpl node0, int partId) { return stable.empty() ? null : Assignments.fromBytes(stable.value()); } + private @Nullable AssignmentsChain getAssignmentsChain(IgniteImpl node, int partId) { + CompletableFuture<Entry> chainFut = node.metaStorageManager() + .get(assignmentsChainKey(new TablePartitionId(tableId, partId))); + + assertThat(chainFut, willCompleteSuccessfully()); + + Entry chain = chainFut.join(); + + return chain.empty() ? null : AssignmentsChain.fromBytes(chain.value()); + } + @Retention(RetentionPolicy.RUNTIME) @interface ZoneParams { int replicas(); int partitions(); int nodes() default INITIAL_NODES; + + ConsistencyMode consistencyMode() default ConsistencyMode.STRONG_CONSISTENCY; } } Review Comment: Added -- 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: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org