Ir al contenido
Español

ReplicaId

Esta página aún no está disponible en tu idioma.

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.