Aller au contenu
Français

ReplicaId

Ce contenu n’est pas encore disponible dans votre langue.

ReplicaId = string

Defined in: src/crdt/Crdt.ts:53

Identifier of the replica producing an update. In a cluster, this is typically cluster.selfAddress.toString() — every NodeAddress is already unique within the cluster, so we can reuse it as the replica id rather than minting a separate one.

The CRDT operations themselves treat the id as opaque — any string that’s stable across a process’s lifetime is fine.