Vladsz83 commented on code in PR #11391:
URL: https://github.com/apache/ignite/pull/11391#discussion_r1718554802


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/SnapshotChecker.java:
##########
@@ -218,73 +221,109 @@ public <T> T readFromFile(File smf)
         }
     }
 
-    /** */
-    public List<SnapshotMetadata> checkLocalMetas(File snpFullPath, @Nullable 
Collection<Integer> cacheGrpIds,
-        @Nullable Object locNodeConsistId) {
-        List<SnapshotMetadata> snpMetas = readSnapshotMetadatas(snpFullPath, 
locNodeConsistId);
+    /** Launches local metas checking and waits for the result, handles 
execution exceptions. */
+    public List<SnapshotMetadata> checkLocalMetasResult(File snpPath, 
@Nullable Collection<Integer> grpIds, @Nullable Object locNodeCstId) {

Review Comment:
   > Do we actually need this method, I suppose invoker can call `.get()` itself
   
   Fixed



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