RhtNode

data class RhtNode(val key: String, val value: String, val executedAt: TimeTicket, val isRemoved: Boolean) : GCChild

Constructors

Link copied to clipboard
constructor(key: String, value: String, executedAt: TimeTicket, isRemoved: Boolean)

Properties

Link copied to clipboard
open override val dataSize: DataSize

A tombstone charges its key only (#1392). The value it still carries is dead weight — nothing reads it, Rht.has/Rht.toJson/Rht.toXml all gate on isRemoved — and charging it made the running docSize disagree with a rebuild of the same document, which replays the same removals. The value is left on the node rather than cleared so that what this SDK stores and serializes for a tombstone is byte-for-byte what it was, and what a peer sends us is kept verbatim: the convergence fix belongs in the accounting, not the wire format.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val key: String
Link copied to clipboard
open override val removedAt: TimeTicket?
Link copied to clipboard