public bool SetLastPos(WriteTransaction txn, string replicaId, ulong pos) => txn.AddOrUpdate(_table, ToPosTableKey(replicaId), ToPosTableValue(pos));
public bool SetLastClock(WriteTransaction txn, string replicaId, VectorClock clock) => txn.AddOrUpdate(_table, ToClockTableKey(replicaId), ToClockTableValue(clock));
public bool SetCounters(WriteTransaction txn, ReplicaCounters counters) => txn.AddOrUpdate(_table, _countersKey, ToCountersTableValue(counters));
public bool SetLastClock(WriteTransaction txn, VectorClock clock) => txn.AddOrUpdate(_table, _clockKey, ToClockTableValue(clock));
public bool AddOrUpdate(WriteTransaction txn, TableKey key, KvMetadata metadata) => txn.AddOrUpdate(_table, key, ToTableValue(metadata));