Committed (or Commit Index) means committing the log.  There is a separated
Apply Index for applying on the state machine.

The log is indeed applied by the state machine before returning a
response.  The state machine may include a reply in the response.

Tsz-Wo


On Wed, Jul 26, 2023 at 12:33 PM Asad Awadia <[email protected]> wrote:

> When ratis says committed - is it referring to committing the log or
> applying the log on the state machine?
>
> Is there a way to 'wait' for the raft log to be applied by the state
> machine before returning a response? Slightly by pass the 'asynchronous '
> nature of raft
>
>
>
  • OnApply Asad Awadia
    • Re: OnApply Tsz Wo Sze

Reply via email to