Phillippko commented on code in PR #7156:
URL: https://github.com/apache/ignite-3/pull/7156#discussion_r2645455877
##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/disaster/DisasterRecoveryManager.java:
##########
@@ -278,10 +277,16 @@ public DisasterRecoveryManager(
nodeLeftListener = new LogicalTopologyEventListener() {
@Override
public void onNodeLeft(LogicalNode leftNode,
LogicalTopologySnapshot newTopology) {
- MultiNodeOperations operations =
operationsByNodeName.get(leftNode.name());
- if (operations != null) {
- operations.completeAllExceptionally(leftNode.name(), new
NodeStoppingException());
- }
+ operationsByNodeId.compute(leftNode.id(), (node, operations)
-> {
+ if (operations != null) {
+ operations.completeAllExceptionally(
+ leftNode.name(),
+ new
NodeNotFoundException(Set.of(leftNode.name()))
Review Comment:
Added exception
--
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]