Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
Docs Required, Release Notes Required
Description
Motivation
Stop lease prolongation message is sent every time when transaction message fails due to connectivity problems or a RAFT leader leaves the leaseholder. During intensive load, the message might be sent many times in each transaction message handling (look the method here ReplicaManager#stopLeaseProlongation).
Definition of done
Stop lease prolongation message shouldn't be repeated until the lease is prolonged for some reason. Also, this message shouldn't be sent from the node that is not a leaseholder, or if the lease has been granted with force flag.