zhixinwen commented on issue #3070: URL: https://github.com/apache/kvrocks/issues/3070#issuecomment-3105650226
Another approach I can think about: 1. Master knows the wait it is blocked by and the sequnce number needed to unblock a wait. 2. When master send a write to replica, it knows if the replica would unblock it after processing the write. 3. When such write is sent to the replica, the master can immediately send `REPLCONF GETACK`. The hope is replica would see `REPLCONF GETACK` immediately after it processes the write that would potentially unblock master. 4. By default, replica just ack every 1s (or something configurable) -- 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]
