replica-put-rejects-older-versions

Status: IN

`Replica.put()` silently rejects writes with a version strictly less than the stored version (returns `False`), enforcing monotonic version advancement; equal versions are accepted as last-writer-wins.

Source: entries/2026/05/29/read-repair-read_repair.md

Example

def put(self, key, value, version):
    if key in self._store:
        _, current_version = self._store[key]
        if version < current_version:
            return False

JSON