sashapolo commented on code in PR #3352:
URL: https://github.com/apache/ignite-3/pull/3352#discussion_r1516077905


##########
modules/storage-api/src/main/java/org/apache/ignite/internal/storage/util/StorageUtils.java:
##########
@@ -129,6 +131,8 @@ public static void 
throwExceptionDependingOnStorageState(StorageState state, Str
                 throw new 
StorageRebalanceException(createStorageInProcessOfRebalanceErrorMessage(storageInfo));
             case CLEANUP:
                 throw new 
StorageException(createStorageInProcessOfCleanupErrorMessage(storageInfo));
+            case DESTROYING:
+                throw new 
StorageException(createStorageDestroyedErrorMessage(storageInfo));

Review Comment:
   I think we can reuse the `StorageClosedException` for now and change it to a 
more specific type later, if needed



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