jonmv commented on PR #1925:
URL: https://github.com/apache/zookeeper/pull/1925#issuecomment-1265515004

   There ... Not pretty, but seems like the only way to make this right is by 
making it possible to delay the `ACK`s that would otherwise be sent once the 
`SyncRequestProcessor` flushes, so they arrive after the `ACK` og the 
`NEWLEADER`. 
   This is implemented by adding additional special requests that can be 
enqueued by the sync processor—one to rendezvous with it, from the syncing 
thread at startup, to ensure TXNs are actually flushed; and two to toggle 
whether to delay forwarding to the `SendAckRequestProcessor`, used by the 
`FollowerZooKeeperServer`. 


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