alievmirza commented on code in PR #3575:
URL: https://github.com/apache/ignite-3/pull/3575#discussion_r1568686202
##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/TableManager.java:
##########
@@ -752,10 +762,14 @@ private CompletableFuture<List<Assignments>>
writeTableAssignmentsToMetastore(
});
}
})
- .exceptionally(e -> {
- LOG.error("Couldn't write assignments to metastore",
e);
-
- return null;
+ .handle((realAssignments, e) -> {
+ if (e != null) {
+ LOG.error("Couldn't write assignments {} to
metastore during invoke",
Review Comment:
from my point of view, the message is a bit incorrect, exception could
caught here not only from invoke, let's rephrase 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]