Hi Pietro,

The applyTransaction method is called once the transaction has been
committed.
A transaction is committed once it has been replicated (not applied) to a
majority of nodes.

Hope it helps.
Tsz-Wo


On Thu, Jan 21, 2021 at 12:04 AM Pietro Tollot <[email protected]> wrote:

> Hi all, i have a doubt about the use of the applyTransaction method of a
> BaseStateMachine, my doubt regards when the methods is called, it is done
> once the cluster has committed a message or before to commit a message?
> That is a message is committed once applyTransaction has been performed in
> the majority of nodes?
>
> Thanks,
> Pietro

Reply via email to