tkalkirill commented on code in PR #1471:
URL: https://github.com/apache/ignite-3/pull/1471#discussion_r1057319327
##########
modules/storage-api/src/testFixtures/java/org/apache/ignite/internal/storage/impl/TestMvTableStorage.java:
##########
@@ -110,6 +113,10 @@ public MvPartitionStorage getMvPartition(int partitionId) {
public CompletableFuture<Void> destroyPartition(int partitionId) {
checkPartitionId(partitionId);
+ if (fullRebalanceFutureByPartitionId.containsKey(partitionId)) {
+ throw new StorageException("Partition in the process of full
rebalancing: " + partitionId);
Review Comment:
Wait a bit, here I just check that if at the time of calling
`MvTableStorage#destroyPartition` we are still rebalancing, then the method
cannot be executed, I added this to the documentation.
--
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]