The RaftReplicator in the causal clustering module does not properly handle leader changes during…
The RaftReplicator in the causal clustering module does not properly handle leader changes during…: a task in LegoFlow-SWE (Harbor dataset). Currently, when a leader switch happens, the queued replication work continues attempting to complete even though for transactional work, the work has to be…
The task
Currently, when a leader switch happens, the queued replication work continues attempting to complete even though for transactional work, the work has to be thrown away anyway due to the switch of lock token. This wastes resources and can lead to incorrect behavior.
Part of Lego-X/LegoFlow-SWE.