A machine might want to know the effective machine version to determine if it should emit an effect like {append, NewCmd} that can only be handled once a cluster reaches an effective machine version.
This change also exposes the current_term so that the callers of the ra_aux API have essentially the same metadata as is passed to the RaMachine:apply/3 callback.
A machine might want to know the effective machine version to determine if it should emit an effect like
{append, NewCmd}
that can only be handled once a cluster reaches an effective machine version.This change also exposes the
current_term
so that the callers of the ra_aux API have essentially the same metadata as is passed to theRaMachine:apply/3
callback.