multi-leader-lww-deterministic-tiebreak

Status: IN

LWW conflict resolution compares `(timestamp, node_id)` tuples using Python's lexicographic tuple comparison, guaranteeing all nodes independently reach the same winner without coordination

Source: entries/2026/05/29/multi-leader-replication-multi_leader.md

Example

if (remote_ts, remote_node) > (local_ts, local_origin):
    self._store[key] = (remote_val, remote_ts, remote_node, is_tombstone)

JSON