Cursors, leases, and durable node state¶
A data plane node holds state about its exchanges with the control plane, which gives it work and receives its reports, and with the project kernels whose evidence comes back to it. This subsection covers what the node records, where, how long each record lives, and what a restart finds.
Cursors¶
- Why the data plane keeps cursors covers the four positions, the lanes they sit in, and the rule that governs all of them.
- The watch cursor covers the file on the volume, its single owner in the process, and the identity it is bound to.
- The assignment cursor covers the four revisions and what a given combination says about a node that has just come back.
- The status ack cursor covers the envelopes the node holds until the control plane confirms them.
- The telemetry outbox cursor covers the per-channel checkpoint over the delivery spool.
- Cursor separation covers the four positions side by side: authority, lifetime and where their truth sits.
Node state¶
- The runtime state registry covers the in-memory document the cycle reads, and the identity health that gates claims and execution.
- Durable node state layout covers every file a node writes, on the volume and in the process working area.
- Persisting cursors across restart covers the write path and the reset rule.
- Rebuilding node state after restart covers the startup order and what the first cycle restores.
Continuity rules¶
- Gap handling covers how a gap is detected on each inbound lane and what the peer supplies to recover.
- Cumulative acks covers why an acknowledgement names the last contiguous sequence.
- Resume direction covers the asymmetry between resuming behind and resuming ahead.
Leases and idempotency¶
- Lease acquisition, renewal, and expiry covers the node's local lease record and its three states.
- Lease dedupe and finalize covers startup recovery and the end of an assignment's hold.
- Idempotency and replay-safe reprocessing covers the execution dedupe record that makes a repeat safe.
- Runtime handle lifecycle across restarts covers how a node finds its running kernels again and where each return lane resumes.