termEpoch

fun termEpoch(termEpoch: Int): LocalLog.Factory


Declares that the leader-election counter behind this log has been reset, so that terms from before the reset still order below terms from after it. Bump it — never lower it — whenever that happens; a node that finds its own term already fenced on the replica log refuses to lead and names this setting. See LeaderTerm.