DotNext.Net.Cluster by Roman Sakno

<PackageReference Include="DotNext.Net.Cluster" Version="1.2.6" />

 IPersistentState

Represents persistent state of local cluster member required by Raft consensus protocol.
long Term { get; }

Reads Term value associated with the local member from the persistent storage.

Increments Term value.

Determines whether the local member granted its vote for the specified remote member.

Persists the last actual Term.

Persists the item that was voted for on in the last vote.