NSAmelchev commented on code in PR #12702:
URL: https://github.com/apache/ignite/pull/12702#discussion_r2786970295
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/IgniteSnapshotManager.java:
##########
@@ -1202,22 +1202,23 @@ public <M extends Serializable> void
storeSnapshotMeta(M meta, File smf) {
*/
private IgniteInternalFuture<Void> completeHandlersAsyncIfNeeded(
SnapshotOperation snpOp,
- Collection<SnapshotOperationResponse> res
+ Map<UUID, SnapshotOperationResponse> res
Review Comment:
Fixed
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/IgniteSnapshotManager.java:
##########
@@ -1202,22 +1202,23 @@ public <M extends Serializable> void
storeSnapshotMeta(M meta, File smf) {
*/
private IgniteInternalFuture<Void> completeHandlersAsyncIfNeeded(
SnapshotOperation snpOp,
- Collection<SnapshotOperationResponse> res
+ Map<UUID, SnapshotOperationResponse> res
) {
if (snpOp.error() != null)
return new GridFinishedFuture<>();
SnapshotOperationRequest req = snpOp.request();
- Map<String, List<SnapshotHandlerResult<?>>> clusterHndResults = new
HashMap<>();
+ Map<String, Map<UUID, SnapshotHandlerResult<?>>> clusterHndResults =
new HashMap<>();
- for (SnapshotOperationResponse snpRes : res) {
- if (snpRes == null || snpRes.handlerResults() == null)
- continue;
+ res.forEach((nodeId, r) -> {
Review Comment:
Done
--
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]