pub struct ForkBasis {
pub source_namespace_id: NamespaceId,
pub source_manifest_object_id: ManifestObjectId,
pub source_manifest_checksum: String,
pub source_checkpoint_id: CheckpointId,
pub fork_seq: ChangeSeq,
}Expand description
Where a fork target’s metadata basis lives before the target publishes its own manifest, and the permanent record of what it was forked from.
Present in every successor head of a fork target, absent in every head of a created namespace. The basis is head-authorized: a reader that resolves through it must verify the loaded manifest against both the namespace id and the checksum recorded here, and report corruption on any mismatch — there is no fallback (format spec, “Resolving the metadata basis”).
Fields§
§source_namespace_id: NamespaceIdNamespace whose durable tree owns the basis manifest and its tables.
source_manifest_object_id: ManifestObjectIdImmutable manifest the target starts from, under the source’s prefix.
source_manifest_checksum: StringMust equal payload_checksum in the referenced manifest envelope.
source_checkpoint_id: CheckpointIdSource checkpoint record pinning the basis for as long as the target lives.
fork_seq: ChangeSeqSource sequence the target’s history begins at: its birth seq, and the floor below which the target never had WAL history of its own.