ibessonov commented on code in PR #3352:
URL: https://github.com/apache/ignite-3/pull/3352#discussion_r1512927920
##########
modules/storage-api/src/main/java/org/apache/ignite/internal/storage/util/MvPartitionStorages.java:
##########
@@ -432,6 +432,23 @@ private String
createStorageInProgressOfRebalanceErrorMessage(int partitionId) {
return null;
}
+ /**
+ * Returns a list of all existing storages.
+ */
+ public List<T> getAll() {
Review Comment:
I guess that proposed issue is the fact that `storageByPartitionId` can be
concurrently changed?
This doesn't look like a real issue, but we better document this nuance.
--
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]