pub struct EditReport {Show 18 fields
pub field: FieldId,
pub previous: FieldId,
pub page: u32,
pub page_content: NodeId,
pub content_literal: NodeId,
pub index_root: NodeId,
pub index_entries: u64,
pub index_entries_reused: u64,
pub index_entries_replaced: u64,
pub seed_nodes_new: u64,
pub seed_nodes_reused: u64,
pub index_nodes_reused: u64,
pub index_nodes_new: u64,
pub bytes_newly_persisted: u64,
pub descriptor_bytes_read: u64,
pub manifest_bytes_read: u64,
pub index_bytes_read: u64,
pub seed_bytes_read: u64,
}Expand description
What one immutable edit produced.
Every counter is a measured fact about this call; none of them is a claim about the document’s semantics.
Fields§
§field: FieldIdThe new field root R1.
previous: FieldIdThe field that was edited R0 (left byte-valid and unchanged).
page: u32The edited page (1-based, as in the observation index).
page_content: NodeIdThe new PageContent node that serves SEL_PAGE(page) in R1.
content_literal: NodeIdThe Literal node holding the caller-supplied content bytes.
index_root: NodeIdThe R1 hierarchical index root.
index_entries: u64Total selector bindings in the R1 index.
index_entries_reused: u64Bindings carried forward unchanged (same key, same node id) from R0.
index_entries_replaced: u64Bindings whose node id changed (the edited page).
seed_nodes_new: u64New seed nodes written (checked against the store before writing).
seed_nodes_reused: u64Seed nodes the edit intended to write that already existed by id.
index_nodes_reused: u64R1 index-tree nodes that already existed before the edit (so they were
not re-written): R0’s own tree nodes and any leaf an earlier edit left
behind.
index_nodes_new: u64R1 index-tree nodes the edit physically wrote for the first time.
bytes_newly_persisted: u64Canonical payload bytes the edit actually had to persist: the new seed
nodes, the new index nodes, and the new manifest, each counted only when
it was not already present by content id. It excludes filesystem framing,
.tmp writes, and fsync.
descriptor_bytes_read: u64Descriptor-blob bytes the edit read (zero by construction).
manifest_bytes_read: u64Field-manifest bytes the edit read.
index_bytes_read: u64Hierarchical-index bytes the edit read.
seed_bytes_read: u64Seed-node bytes the edit read.