tkalkirill commented on code in PR #1666:
URL: https://github.com/apache/ignite-3/pull/1666#discussion_r1115456307
##########
modules/storage-api/src/main/java/org/apache/ignite/internal/storage/util/StorageUtils.java:
##########
@@ -155,6 +155,15 @@ public static void
throwStorageExceptionIfItCause(IgniteInternalCheckedException
}
}
+ /**
+ * Throws an {@link StorageException} if the storage already exists or is
being created.
+ *
+ * @param storageInfo Storage information, for example in the format
"table=user, partitionId=1".
+ */
+ public static void throwExceptionIfStorageExists(String storageInfo) {
+ throw new StorageException("Storage already exists or is being
created: " + storageInfo);
Review Comment:
This method is not needed, I will remove it.
--
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]