denis-chudov commented on code in PR #3467:
URL: https://github.com/apache/ignite-3/pull/3467#discussion_r1542657701


##########
modules/replicator/src/main/java/org/apache/ignite/internal/replicator/Replica.java:
##########
@@ -168,7 +175,25 @@ private CompletableFuture<ClusterNode> leaderFuture() {
      */
     public CompletableFuture<? extends NetworkMessage> 
processPlacementDriverMessage(PlacementDriverReplicaMessage msg) {
         if (msg instanceof LeaseGrantedMessage) {
-            return processLeaseGrantedMessage((LeaseGrantedMessage) msg);
+            return processLeaseGrantedMessage((LeaseGrantedMessage) msg)
+                    .handle((v, e) -> {

Review Comment:
   It is sent in the case of not NodeStoppingException.
   Actually it fixes another negotiation issue: in the case of any replica 
exception the agreement is discarded and starts from the beginning on the PD 
active actor side.



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