rpuch commented on code in PR #6688:
URL: https://github.com/apache/ignite-3/pull/6688#discussion_r2401141190


##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/TableManager.java:
##########
@@ -2181,7 +2181,8 @@ public CompletableFuture<PartitionSet> 
localPartitionSetAsync(long causalityToke
         }
 
         try {
-            return localPartitionsVv.get(causalityToken).thenApply(unused -> 
localPartsByTableId.get(tableId));
+            return localPartitionsVv.get(causalityToken)

Review Comment:
   `localPartitionsVv` is typed as `Void`. But I switched to `getOrDefault()` 
on the map.



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