コンテンツにスキップ
日本語

ReplicaId

このコンテンツはまだ日本語訳がありません。

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.