You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Sirius (Jira)" <ji...@apache.org> on 2022/12/08 16:14:00 UTC

[jira] [Created] (ZOOKEEPER-4646) Committed txns may be lost if followers reply ACK-LD before writing txns to disk

Sirius created ZOOKEEPER-4646:
---------------------------------

             Summary: Committed txns may be lost if followers reply ACK-LD before writing txns to disk
                 Key: ZOOKEEPER-4646
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4646
             Project: ZooKeeper
          Issue Type: Bug
          Components: quorum, server
    Affects Versions: 3.8.0
            Reporter: Sirius


When a follower is processing the NEWLEADER message in SYNC phase, it will call logRequest(..) to submit the txn persistence task to the SyncRequestProcessor thread. The latter does not promise to finish the task before the follower replies ACK-LD to the leader. which may trigger committed data loss.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)