Files
seaweedfs/seaweed-block/docs/status-schema.md
T
pingqiuandClaude Opus 5.5 6bf0445fcd host: recovery_stalled counts every synced startup slice and pauses for the master's authority wait
The startup inactivity window renewed only on replay, scan, map and attach
work. A new store's prezero and the WAL fence wrote and synced whole
regions with no report, so on a slow disk the window could end inside one
silent step; and the chunk layer's wait for master authority, a wait the
master bounds, ran out the same window.

- storage: phases RecoveryCreate and RecoveryFence; syncedSlices runs a
  sized step 4 MiB at a time and reports a slice only after its sync;
  prezeroNewStore uses it, and recovery reports the fence's synced bytes.
- durable: create passes RecoveryProgress; AuthorityWait tells the host
  when the authority wait starts and ends; Chunk.AuthorityGap names the
  projection fields that withhold authority.
- host: recovery_timeout becomes recovery_stalled; waits are counted, the
  window pauses while any runs and restarts when the last ends, a stall
  latched before stays latched; /status RecoveryWait=awaiting_authority.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 02:23:33 -08:00

488 lines
53 KiB
Markdown

# Status schema
The blockvolume status listener (`--status-addr`) serves JSON on the routes below. Each table lists every field a route returns: its JSON path (`[]` marks a list, `{}` a map), its type, and its meaning as the field's Go comment states it. A field marked `—` has no comment in the code yet.
The tables are generated from the Go types, so they list exactly the fields that exist. `go test ./core/host/volume -run TestStatusSchemaDoc` fails when the code and this page disagree; `STATUS_SCHEMA_UPDATE=1` rewrites the generated block.
All routes take `?volume=<id>` and answer 404 for a volume this host does not serve.
<!-- BEGIN GENERATED: go test ./core/host/volume -run TestStatusSchemaDoc (STATUS_SCHEMA_UPDATE=1 rewrites) -->
### `GET /status`
The volume's authority and health projection. Go type `volume.StatusProjection`.
| Field | Type | Meaning |
|---|---|---|
| `VolumeID` | string | the volume this host serves |
| `ReplicaID` | string | this host's replica of it |
| `Epoch` | uint64 | the authority epoch of the current assignment |
| `EndpointVersion` | uint64 | the assignment's endpoint version within the epoch |
| `Healthy` | bool | the replica may serve I/O at this epoch |
| `FormatLevel` | uint32 | FormatLevel is the cluster format level the master's assignment carries (0 when absent: an older master, or none yet): an attach may raise a store to the v1.1 format only at level 1. |
| `Version` | string | Version is the build revision plus modified flag, matching master product_revision. Unknown provenance does not prove that two builds are equal. |
| `Memory` | object | Memory is the process's memory use at the time of the request. |
| `Memory.HeapAllocBytes` | uint64 | Go heap bytes in live objects (runtime.MemStats.HeapAlloc) |
| `Memory.HeapInuseBytes` | uint64 | Go heap bytes in in-use spans (HeapInuse) |
| `Memory.HeapSysBytes` | uint64 | Go heap bytes obtained from the OS (HeapSys) |
| `Memory.HeapReleasedBytes` | uint64 | Go heap bytes returned to the OS (HeapReleased) |
| `Memory.SoftLimitBytes` | int64 | the Go soft memory limit in force (flag, GOMEMLIMIT or cgroup-derived default) |
| `Memory.SoftLimitFallback` | string | why SoftLimitBytes is the 256 MiB default instead of a cgroup-derived limit (the derivation's error) (omitted when empty) |
| `Memory.RSSBytes` | uint64 | resident set size from /proc/self/status (VmRSS); 0 off Linux |
| `Memory.AnonymousRSSBytes` | uint64 | anonymous resident memory (RssAnon); 0 off Linux |
| `FrontendPrimaryReady` | bool | FrontendPrimaryReady: this replica is the healthy, non-superseded primary, its local durable backend admits I/O, and it may serve guest I/O (INV-FE-PRIMARY-READY-OPERATIONAL-001). |
| `NotReadyReason` | string | NotReadyReason says why FrontendPrimaryReady is false, first match: a workspace primary holds no granted lease now (NotReadyLeaseNotHeld); the local durable backend admits no I/O (its evidence: attach pending, fenced, detached) or has no status for the volume; the frontend target is not listening yet; this replica is not the healthy primary. Empty when ready. (omitted when empty) |
| `AuthorityRole` | string | AuthorityRole is primary, superseded or unknown. |
| `ReplicationRole` | string | ReplicationRole is none (a primary), recovering, not_ready, replica_ready or unknown. |
| `RoleAdmissionFailure` | string | RoleAdmissionFailure (G1) explains a not-Healthy projection caused by a failed role call on the replica listener; empty otherwise. (omitted when empty) |
| `UnhealthyReason` | string | UnhealthyReason is the slot's explicit unhealthy report (#128 rule 6), the value its heartbeat carries; empty when healthy. (omitted when empty) |
| `RecoveryWait` | string | RecoveryWait names a wait that pauses the recovery_stalled window: awaiting_authority while the recovered volume waits for master authority (the master bounds it); empty otherwise. (omitted when empty) |
| `CatchUp` | object | CatchUp shows a supporting replica's catch-up progress while it is not yet replica_ready; it is visible without being an alert. (omitted when empty) |
| `CatchUp.ElapsedMs` | int64 | ElapsedMs is the time since this replica was admitted as a supporting replica at its current epoch. |
| `CatchUp.LagLSN` | uint64 | LagLSN is the engine's H-R (primary head minus this replica's durable frontier) as last observed; 0 when unknown or caught up. |
| `Warnings[]` | string | Warnings include routing disagreements and typed recovery warnings (e.g. wal_hole_suspected, issue #51). Visible, not an alert: they do not change Healthy or the frontend's readiness. (omitted when empty) |
| `MasterWait` | object | MasterWait is why a workspace primary holds no granted lease, present only while NotReadyReason is lease_not_held: Reason (unreachable, credentials, "identity refused: <kind>" with kind unregistered or wrong_host, barrier, no_assignment, refused, moved, deleted), since when, and the startup wait's one bound or the master's barrier time (UntilMs, absent while there is no bound). Detail carries the master's diagnostic text for a typed final refusal, including a moved holder and epoch. (omitted when empty) |
| `MasterWait.Reason` | string | — |
| `MasterWait.Detail` | string | — (omitted when empty) |
| `MasterWait.SinceMs` | int64 | — |
| `MasterWait.UntilMs` | int64 | — (omitted when empty) |
### `GET /status/peers`
Replication peers of the served volume. Go type `volume.peersStatusBody`.
| Field | Type | Meaning |
|---|---|---|
| `VolumeID` | string | the served volume |
| `ReplicaID` | string | this host's replica |
| `PeerCount` | int | number of entries in Peers |
| `Peers[]` | object | this primary's replication peers |
| `Peers[].ReplicaID` | string | the peer replica |
| `Peers[].State` | string | the peer state (the replica peer table, M3) |
| `Peers[].Epoch` | uint64 | the epoch the peer was assigned at |
| `Peers[].EndpointVersion` | uint64 | the peer's endpoint version within the epoch |
| `Peers[].DataAddr` | string | the peer's data-path address |
| `Peers[].CtrlAddr` | string | the peer's control-path address |
| `Peers[].SessionID` | uint64 | the current recovery or shipping session; 0 when none |
| `Peers[].ProbeInFlight` | bool | a reachability probe of the peer is running |
| `Peers[].Closed` | bool | the peer handle was closed (it no longer ships) |
### `GET /status/durable`
Durable store state of the served volume. Go type `volume.durableStatusBody`.
| Field | Type | Meaning |
|---|---|---|
| `ProcessID` | string | holder process incarnation from the live host; absent when unavailable (omitted when empty) |
| `VolumeID` | string | the served volume |
| `ReplicaID` | string | this host's replica |
| `VolumeCount` | int | number of entries in Volumes |
| `Volumes[]` | object | the durable store state of the served volume |
| `Volumes[].UnknownOutcome{}` | uint64 | unknown HEAD-write answers by cause since catalog start; never implies persistence |
| `Volumes[].HeadWrites{}` | uint64 | acknowledged HEAD writes by cause since holder catalog start; unknown replies excluded |
| `Volumes[].VolumeID` | string | the volume |
| `Volumes[].Path` | string | its store path under --durable-root |
| `Volumes[].Impl` | string | the durable implementation (walstore or walstore-chunk) |
| `Volumes[].ReplicaID` | string | the replica this store holds |
| `Volumes[].StoreID` | string | the store's superblock UUID (hex); empty when it carries none (omitted when empty) |
| `Volumes[].Epoch` | uint64 | the epoch the store is latched to; 0 before an assignment |
| `Volumes[].EndpointVersion` | uint64 | the endpoint version it is latched to |
| `Volumes[].Latched` | bool | an assignment latched the store (epoch and endpoint version set) |
| `Volumes[].Operational` | bool | the backend admits I/O now |
| `Volumes[].FrontierKnown` | bool | DurableLSN, RetainedLSN and HeadLSN are the store's current boundaries |
| `Volumes[].DurableLSN` | uint64 | R: the newest LSN made durable |
| `Volumes[].RetainedLSN` | uint64 | S: the oldest LSN the WAL still retains |
| `Volumes[].HeadLSN` | uint64 | H: the newest LSN written |
| `Volumes[].Evidence` | string | why the backend is or is not operational |
| `Volumes[].Closed` | bool | the backend was closed |
| `Volumes[].WriteProfile` | object | write-path counters since start |
| `Volumes[].WriteProfile.DurabilityLatency` | object | latency distributions of writes, flushes and syncs |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend` | object | per-request latency at the frontend, by stage |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.WriteTotal` | object | end-to-end latency of writes |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.WriteTotal.Count` | uint64 | samples observed |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.WriteTotal.SumNanos` | uint64 | their total nanoseconds |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.WriteTotal.P50UpperNanos` | uint64 | upper bound of the bucket holding the median |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.WriteTotal.P99UpperNanos` | uint64 | upper bound of the bucket holding the 99th percentile |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.WriteTotal.Buckets[]` | uint64 | bucket i counts samples of i significant bits in ns, i.e. [2^(i-1), 2^i) ns |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.FlushTotal` | object | end-to-end latency of flushes |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.FlushTotal.Count` | uint64 | samples observed |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.FlushTotal.SumNanos` | uint64 | their total nanoseconds |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.FlushTotal.P50UpperNanos` | uint64 | upper bound of the bucket holding the median |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.FlushTotal.P99UpperNanos` | uint64 | upper bound of the bucket holding the 99th percentile |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.FlushTotal.Buckets[]` | uint64 | bucket i counts samples of i significant bits in ns, i.e. [2^(i-1), 2^i) ns |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.FUATotal` | object | end-to-end latency of forced-unit-access writes |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.FUATotal.Count` | uint64 | samples observed |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.FUATotal.SumNanos` | uint64 | their total nanoseconds |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.FUATotal.P50UpperNanos` | uint64 | upper bound of the bucket holding the median |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.FUATotal.P99UpperNanos` | uint64 | upper bound of the bucket holding the 99th percentile |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.FUATotal.Buckets[]` | uint64 | bucket i counts samples of i significant bits in ns, i.e. [2^(i-1), 2^i) ns |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.ReceiveToBackend` | object | from request receipt to the backend call |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.ReceiveToBackend.Count` | uint64 | samples observed |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.ReceiveToBackend.SumNanos` | uint64 | their total nanoseconds |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.ReceiveToBackend.P50UpperNanos` | uint64 | upper bound of the bucket holding the median |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.ReceiveToBackend.P99UpperNanos` | uint64 | upper bound of the bucket holding the 99th percentile |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.ReceiveToBackend.Buckets[]` | uint64 | bucket i counts samples of i significant bits in ns, i.e. [2^(i-1), 2^i) ns |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.AckDispatch` | object | from backend completion to the acknowledgement sent |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.AckDispatch.Count` | uint64 | samples observed |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.AckDispatch.SumNanos` | uint64 | their total nanoseconds |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.AckDispatch.P50UpperNanos` | uint64 | upper bound of the bucket holding the median |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.AckDispatch.P99UpperNanos` | uint64 | upper bound of the bucket holding the 99th percentile |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.AckDispatch.Buckets[]` | uint64 | bucket i counts samples of i significant bits in ns, i.e. [2^(i-1), 2^i) ns |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.RequestTotal` | object | end-to-end latency of every request |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.RequestTotal.Count` | uint64 | samples observed |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.RequestTotal.SumNanos` | uint64 | their total nanoseconds |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.RequestTotal.P50UpperNanos` | uint64 | upper bound of the bucket holding the median |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.RequestTotal.P99UpperNanos` | uint64 | upper bound of the bucket holding the 99th percentile |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.RequestTotal.Buckets[]` | uint64 | bucket i counts samples of i significant bits in ns, i.e. [2^(i-1), 2^i) ns |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.Writes` | uint64 | writes observed |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.Flushes` | uint64 | flushes observed |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.FUAWrites` | uint64 | forced-unit-access writes observed |
| `Volumes[].WriteProfile.DurabilityLatency.Frontend.Failed` | uint64 | requests that completed with an error |
| `Volumes[].WriteProfile.DurabilityLatency.BackendSync` | object | latency of backend syncs |
| `Volumes[].WriteProfile.DurabilityLatency.BackendSync.Count` | uint64 | samples observed |
| `Volumes[].WriteProfile.DurabilityLatency.BackendSync.SumNanos` | uint64 | their total nanoseconds |
| `Volumes[].WriteProfile.DurabilityLatency.BackendSync.P50UpperNanos` | uint64 | upper bound of the bucket holding the median |
| `Volumes[].WriteProfile.DurabilityLatency.BackendSync.P99UpperNanos` | uint64 | upper bound of the bucket holding the 99th percentile |
| `Volumes[].WriteProfile.DurabilityLatency.BackendSync.Buckets[]` | uint64 | bucket i counts samples of i significant bits in ns, i.e. [2^(i-1), 2^i) ns |
| `Volumes[].WriteProfile.DurabilityLatency.WAL` | object | the WAL's own sync latency, where the store reports it (omitted when empty) |
| `Volumes[].WriteProfile.DurabilityLatency.WAL.WALAppend` | object | WAL append latency |
| `Volumes[].WriteProfile.DurabilityLatency.WAL.WALAppend.Count` | uint64 | samples observed |
| `Volumes[].WriteProfile.DurabilityLatency.WAL.WALAppend.SumNanos` | uint64 | their total nanoseconds |
| `Volumes[].WriteProfile.DurabilityLatency.WAL.WALAppend.P50UpperNanos` | uint64 | upper bound of the bucket holding the median |
| `Volumes[].WriteProfile.DurabilityLatency.WAL.WALAppend.P99UpperNanos` | uint64 | upper bound of the bucket holding the 99th percentile |
| `Volumes[].WriteProfile.DurabilityLatency.WAL.WALAppend.Buckets[]` | uint64 | bucket i counts samples of i significant bits in ns, i.e. [2^(i-1), 2^i) ns |
| `Volumes[].WriteProfile.DurabilityLatency.WAL.GroupCommitWait` | object | time a sync request waited in the group commit queue |
| `Volumes[].WriteProfile.DurabilityLatency.WAL.GroupCommitWait.Count` | uint64 | samples observed |
| `Volumes[].WriteProfile.DurabilityLatency.WAL.GroupCommitWait.SumNanos` | uint64 | their total nanoseconds |
| `Volumes[].WriteProfile.DurabilityLatency.WAL.GroupCommitWait.P50UpperNanos` | uint64 | upper bound of the bucket holding the median |
| `Volumes[].WriteProfile.DurabilityLatency.WAL.GroupCommitWait.P99UpperNanos` | uint64 | upper bound of the bucket holding the 99th percentile |
| `Volumes[].WriteProfile.DurabilityLatency.WAL.GroupCommitWait.Buckets[]` | uint64 | bucket i counts samples of i significant bits in ns, i.e. [2^(i-1), 2^i) ns |
| `Volumes[].WriteProfile.DurabilityLatency.WAL.FileSync` | object | physical file syncs (one sample per sync, however many waiters) |
| `Volumes[].WriteProfile.DurabilityLatency.WAL.FileSync.Count` | uint64 | samples observed |
| `Volumes[].WriteProfile.DurabilityLatency.WAL.FileSync.SumNanos` | uint64 | their total nanoseconds |
| `Volumes[].WriteProfile.DurabilityLatency.WAL.FileSync.P50UpperNanos` | uint64 | upper bound of the bucket holding the median |
| `Volumes[].WriteProfile.DurabilityLatency.WAL.FileSync.P99UpperNanos` | uint64 | upper bound of the bucket holding the 99th percentile |
| `Volumes[].WriteProfile.DurabilityLatency.WAL.FileSync.Buckets[]` | uint64 | bucket i counts samples of i significant bits in ns, i.e. [2^(i-1), 2^i) ns |
| `Volumes[].WriteProfile.TargetWriteOps` | uint64 | writes the protocol target handed to the volume |
| `Volumes[].WriteProfile.TargetWriteBytes` | uint64 | their bytes |
| `Volumes[].WriteProfile.TargetWriteRequestMaxBytes` | uint64 | the largest of them |
| `Volumes[].WriteProfile.TargetWriteDurationNanos` | uint64 | their total time at the target |
| `Volumes[].WriteProfile.BackendWriteRequestOps` | uint64 | write requests that entered the durable backend |
| `Volumes[].WriteProfile.BackendWriteRequestBytes` | uint64 | their bytes |
| `Volumes[].WriteProfile.BackendWriteRequestMaxBytes` | uint64 | the largest of them |
| `Volumes[].WriteProfile.BackendWriteOps` | uint64 | backend writes completed |
| `Volumes[].WriteProfile.BackendWriteBytes` | uint64 | their bytes |
| `Volumes[].WriteProfile.BackendWriteDurationNanos` | uint64 | their total time |
| `Volumes[].WriteProfile.BackendStorageWriteCalls` | uint64 | single-write calls into the store |
| `Volumes[].WriteProfile.BackendStorageWriteBlocks` | uint64 | blocks they wrote |
| `Volumes[].WriteProfile.BackendStorageBatchCalls` | uint64 | batch-write calls into the store |
| `Volumes[].WriteProfile.BackendStorageBatchBlocks` | uint64 | blocks they wrote |
| `Volumes[].WriteProfile.BackendFullBlockBatchCalls` | uint64 | batch calls made only of whole blocks |
| `Volumes[].WriteProfile.BackendFullBlockBatchBlocks` | uint64 | blocks they wrote |
| `Volumes[].WriteProfile.BackendFullBlockBatchMax` | uint64 | the largest such batch, in blocks |
| `Volumes[].WriteProfile.WALCopyOps` | uint64 | WAL record payload copies |
| `Volumes[].WriteProfile.WALCopyBytes` | uint64 | their bytes |
| `Volumes[].WriteProfile.WALCopyDurationNanos` | uint64 | their total time |
| `Volumes[].WriteProfile.WALEncodeOps` | uint64 | WAL record encodes |
| `Volumes[].WriteProfile.WALEncodeBytes` | uint64 | their bytes |
| `Volumes[].WriteProfile.WALEncodeDurationNanos` | uint64 | their total time |
| `Volumes[].WriteProfile.WALChecksumOps` | uint64 | WAL record checksums |
| `Volumes[].WriteProfile.WALChecksumBytes` | uint64 | their bytes |
| `Volumes[].WriteProfile.WALChecksumDurationNanos` | uint64 | their total time |
| `Volumes[].WriteProfile.WALAppendOps` | uint64 | WAL appends |
| `Volumes[].WriteProfile.WALAppendBytes` | uint64 | their bytes |
| `Volumes[].WriteProfile.WALAppendDurationNanos` | uint64 | their total time |
| `Volumes[].WriteProfile.WALAppendLockWaitOps` | uint64 | appends that waited for the WAL append lock |
| `Volumes[].WriteProfile.WALAppendLockWaitNanos` | uint64 | their total wait |
| `Volumes[].WriteProfile.WriteCommitLockWaitOps` | uint64 | writes that waited for the commit lock |
| `Volumes[].WriteProfile.WriteCommitLockWaitNanos` | uint64 | their total wait |
| `Volumes[].WriteProfile.WALAppendWriteAtCalls` | uint64 | file WriteAt calls made by WAL appends |
| `Volumes[].WriteProfile.WALAppendWriteAtBytes` | uint64 | their bytes |
| `Volumes[].WriteProfile.WALAppendWriteAtMaxBytes` | uint64 | the largest of them |
| `Volumes[].WriteProfile.WALAppendWrapCount` | uint64 | times the WAL append wrapped to the start of the log |
| `Volumes[].WriteProfile.WALAppendPaddingBytes` | uint64 | padding bytes written at those wraps |
| `Volumes[].WriteProfile.DirtyMapUpdateOps` | uint64 | dirty-map updates after writes |
| `Volumes[].WriteProfile.DirtyMapUpdateDurationNanos` | uint64 | their total time |
| `Volumes[].WriteProfile.BackendSyncOps` | uint64 | backend syncs (flush, FUA, explicit sync) |
| `Volumes[].WriteProfile.BackendSyncDurationNanos` | uint64 | their total time |
| `Volumes[].DataSync` | object | data-file sync state, where the store has one (omitted when empty) |
| `Volumes[].DataSync.Mode` | string | the data-file sync call in use (fsync or fdatasync) |
| `Volumes[].DataSync.Reason` | string | why it was chosen (an explicit SWBLOCK_SYNC, or the automatic choice) |
| `Volumes[].CheckpointPersistence` | object | checkpoint persistence state, where the store has one (omitted when empty) |
| `Volumes[].CheckpointPersistence.Successes` | uint64 | checkpoint calls that succeeded (including unchanged ones) |
| `Volumes[].CheckpointPersistence.Refusals` | uint64 | checkpoint calls refused because the map coverage was stale |
| `Volumes[].CheckpointPersistence.Failures` | uint64 | checkpoint calls that failed with an error |
| `Volumes[].CheckpointPersistence.CheckpointLSN` | uint64 | the persisted checkpoint LSN |
| `Volumes[].CheckpointPersistence.Advances` | uint64 | successes that moved CheckpointLSN forward |
| `Volumes[].CheckpointPersistence.LastAdvance` | time (RFC 3339) | when the latest advance happened; zero if none in this open |
| `Volumes[].CheckpointPersistence.ReclaimedBytes` | uint64 | WAL bytes the checkpoint advances released in this open |
| `Volumes[].CheckpointPersistence.BoundedCycles` | uint64 | flusher cycles that stopped at the batch bound (a sixteenth of the WAL) with entries left for the next |
| `Volumes[].CheckpointPersistence.FlusherPhase` | string | idle, drain_held (before the chunk layer attaches), wal_sync (every dirty entry above the synced WAL), writing, extent_sync or checkpoint |
| `Volumes[].CheckpointPersistence.CycleStarted` | time (RFC 3339) | when the flusher cycle in progress started; zero when none is |
| `Volumes[].CheckpointPersistence.CycleExtentBytes` | uint64 | extent bytes the cycle in progress (or the latest) has written |
| `Volumes[].CheckpointPersistence.LastExtentWrite` | time (RFC 3339) | when the flusher last wrote extent bytes; zero if never in this open |
| `Volumes[].CheckpointPersistence.CheckpointSteps` | object | the checkpoint's step in progress and its per-step time, count and bytes |
| `Volumes[].CheckpointPersistence.CheckpointSteps.Step` | string | the step in progress: hooks, map_write, map_fsync, leader_wait, store_lock_wait, slot_write, slot_fsync or retire (omitted when empty) |
| `Volumes[].CheckpointPersistence.CheckpointSteps.Since` | time (RFC 3339) | when the step in progress started (omitted when empty) |
| `Volumes[].CheckpointPersistence.CheckpointSteps.Nanos{}` | uint64 | cumulative nanoseconds per step name (omitted when empty) |
| `Volumes[].CheckpointPersistence.CheckpointSteps.Count{}` | uint64 | how many times each step ran (omitted when empty) |
| `Volumes[].CheckpointPersistence.CheckpointSteps.Bytes{}` | uint64 | bytes each writing step wrote (map_write: the owned map file; slot_write: the store file's descriptor slots) (omitted when empty) |
| `Volumes[].CheckpointPersistence.FenceZeroed` | uint64 | WAL fence bytes written as zeros in this open, counted per 4 MiB slice after its fsync |
| `Volumes[].CheckpointPersistence.FenceSkips` | uint64 | recovery fences skipped: the same range was fenced in this open with no WAL write since |
| `Volumes[].Chunk` | object | Chunk is the chunk layer's state and cut counters; walstore-chunk volumes only. |
| `Volumes[].Chunk.CurrentCut` | object | active cut phase; absent when idle (omitted when empty) |
| `Volumes[].Chunk.CurrentCut.attempt_started_at` | time (RFC 3339) | start of the whole attempt, unchanged across phase visits |
| `Volumes[].Chunk.CurrentCut.phase` | string | current pipeline phase |
| `Volumes[].Chunk.CurrentCut.started_at` | time (RFC 3339) | UTC start of the current phase visit |
| `Volumes[].Chunk.CurrentCut.attempt` | uint64 | attachment-local attempt identity, including failed attempts |
| `Volumes[].Chunk.Maintenance` | object | the holder maintenance loop; absent when disabled (omitted when empty) |
| `Volumes[].Chunk.Maintenance.passesOk` | int64 | completed passes since this holder process started |
| `Volumes[].Chunk.Maintenance.inProgress` | bool | a maintenance callback is running |
| `Volumes[].Chunk.Maintenance.currentStartNs` | int64 | unix ns start of the running pass; zero when idle |
| `Volumes[].Chunk.Maintenance.lastPass` | object | absent until a pass ends (omitted when empty) |
| `Volumes[].Chunk.Maintenance.lastPass.atNs` | int64 | unix ns when the pass ended |
| `Volumes[].Chunk.Maintenance.lastPass.planned` | int64 | all objects considered for removal |
| `Volumes[].Chunk.Maintenance.lastPass.removed` | int64 | all objects removed |
| `Volumes[].Chunk.Maintenance.lastPass.plannedChunks` | int64 | chunk objects considered for removal |
| `Volumes[].Chunk.Maintenance.lastPass.plannedRoots` | int64 | root objects considered for removal |
| `Volumes[].Chunk.Maintenance.lastPass.plannedSegments` | int64 | segment objects considered for removal |
| `Volumes[].Chunk.Maintenance.lastPass.removedChunks` | int64 | chunk objects removed |
| `Volumes[].Chunk.Maintenance.lastPass.removedRoots` | int64 | root objects removed |
| `Volumes[].Chunk.Maintenance.lastPass.removedSegments` | int64 | segment objects removed |
| `Volumes[].Chunk.Maintenance.lastPass.error` | string | one-line callback error; empty when the callback completed |
| `Volumes[].Chunk.Maintenance.lastPass.headGenError` | string | diagnostic HEAD read error; empty when read |
| `Volumes[].Chunk.Maintenance.lastPass.headGen` | uint64 | observed cleaning HEAD generation; diagnostic only |
| `Volumes[].Chunk.Attached` | bool | the chunk layer is attached to the remote |
| `Volumes[].Chunk.AwaitingAuthority` | bool | recovered; the layer waits for master authority to attach |
| `Volumes[].Chunk.AuthorityGap` | string | while awaiting: the projection fields that withhold authority (omitted when empty) |
| `Volumes[].Chunk.Fenced` | bool | a newer holder fenced this layer: it publishes nothing |
| `Volumes[].Chunk.RemoteLSN` | uint64 | the LSN of the remote HEAD (what the remote holds durably) |
| `Volumes[].Chunk.Stats` | object | the layer's cut counters; zero until attached |
| `Volumes[].Chunk.Stats.Hydration` | object | lazy fetches of absent chunks from the remote |
| `Volumes[].Chunk.Stats.Hydration.WorkerLimit` | int | fetch workers allowed (--chunk-hydration-workers) |
| `Volumes[].Chunk.Stats.Hydration.QueueDepth` | int | fetch queue capacity (--chunk-hydration-queue-depth) |
| `Volumes[].Chunk.Stats.Hydration.Active` | int | fetches running now |
| `Volumes[].Chunk.Stats.Hydration.Queued` | int | fetches waiting for a worker now |
| `Volumes[].Chunk.Stats.Hydration.WaitCalls` | uint64 | reads that waited for a chunk to arrive |
| `Volumes[].Chunk.Stats.Hydration.Joined` | uint64 | of those, reads that joined a fetch already running |
| `Volumes[].Chunk.Stats.Hydration.WaitRefusals` | uint64 | waits that ended without the chunk (the caller cancelled, or the fetch was not admitted) |
| `Volumes[].Chunk.Stats.Hydration.Fetches` | uint64 | fetches started |
| `Volumes[].Chunk.Stats.Hydration.Completed` | uint64 | fetches that installed the chunk |
| `Volumes[].Chunk.Stats.Hydration.FetchErrors` | uint64 | fetches that failed |
| `Volumes[].Chunk.Stats.CutsOK` | uint64 | cuts that installed a HEAD |
| `Volumes[].Chunk.Stats.CutsNoop` | uint64 | cuts with nothing new (no CAS) |
| `Volumes[].Chunk.Stats.CutsFailed` | uint64 | every other cut failure |
| `Volumes[].Chunk.Stats.CutsRefused{}` | uint64 | refusals by reason: admission, fenced, detached |
| `Volumes[].Chunk.Stats.CutsYielded` | uint64 | attempts that gave their host slot to a waiting cut at a staging batch boundary |
| `Volumes[].Chunk.Stats.CutsAborted{}` | uint64 | saver_capacity, cow_capacity, no_room_to_cut, free_space_unreadable, budget_revoked, upload |
| `Volumes[].Chunk.Stats.CASConflicts` | uint64 | HEAD CAS precondition failures |
| `Volumes[].Chunk.Stats.CASUnknown` | uint64 | HEAD CAS results still unresolved after the re-read |
| `Volumes[].Chunk.Stats.PendingUnresolved` | bool | an unresolved HEAD proposal is held now |
| `Volumes[].Chunk.Stats.DirtyChunks` | int | chunks dirty since the last HEAD (not counting those awaiting reconciliation): candidates, not progress |
| `Volumes[].Chunk.Stats.StagedChunks` | uint64 | chunks staged by every cut attempt, failed ones included (in-process) |
| `Volumes[].Chunk.Stats.KnownZeroChunks` | uint64 | chunks this layer's fresh attach certified known-zero (RULE-FRESH-KNOWN-ZERO); 0 otherwise |
| `Volumes[].Chunk.Stats.Reconciling` | bool | the dirty set is being reconciled against HEAD; no cut publishes meanwhile |
| `Volumes[].Chunk.Stats.ReconcileDone` | int | chunks compared so far |
| `Volumes[].Chunk.Stats.ReconcileTotal` | int | chunks to compare |
| `Volumes[].Chunk.Stats.LastCut` | object | the last successful cut's measurements |
| `Volumes[].Chunk.Stats.LastCut.SyncPhases` | object | the parts of SyncNs (never added to it) |
| `Volumes[].Chunk.Stats.LastCut.SyncPhases.lifecycleWaitNs` | int64 | waiting for the store's lifecycle lock |
| `Volumes[].Chunk.Stats.LastCut.SyncPhases.storeWaitNs` | int64 | waiting for the store lock |
| `Volumes[].Chunk.Stats.LastCut.SyncPhases.groupCommitNs` | int64 | in the group commit that made the data durable |
| `Volumes[].Chunk.Stats.LastCut.SyncPhases.completionWaitNs` | int64 | waiting for the sync leader role to validate the completion |
| `Volumes[].Chunk.Stats.LastCut.CandidateVisits` | int64 | CandidateVisits counts the chunk indices the barrier's candidate step visited (scanned entries and set members), the work a pause pays for. |
| `Volumes[].Chunk.Stats.LastCut.PauseCandidateOps` | int64 | PauseCandidateOps counts per-candidate operations done while the guest is paused (from the barrier lock to its release): zero when the pause does O(1) work. |
| `Volumes[].Chunk.Stats.LastCut.PreSyncNs` | int64 | PreSyncNs is the sync right before the barrier, outside the guest pause (never part of BarrierPauseNs): the pause's own sync then has only what came after it. |
| `Volumes[].Chunk.Stats.LastCut.CandidateNs` | int64 | Disjoint non-payload intervals within barrier-to-settlement fixed cost. |
| `Volumes[].Chunk.Stats.LastCut.WindowSetupNs` | int64 | (group of `CandidateNs`) Disjoint non-payload intervals within barrier-to-settlement fixed cost. |
| `Volumes[].Chunk.Stats.LastCut.PublishPrepareNs` | int64 | (group of `CandidateNs`) Disjoint non-payload intervals within barrier-to-settlement fixed cost. |
| `Volumes[].Chunk.Stats.LastCut.ManifestNs` | int64 | (group of `CandidateNs`) Disjoint non-payload intervals within barrier-to-settlement fixed cost. |
| `Volumes[].Chunk.Stats.LastCut.CommitStateNs` | int64 | (group of `CandidateNs`) Disjoint non-payload intervals within barrier-to-settlement fixed cost. |
| `Volumes[].Chunk.Stats.LastCut.NonPayloadCopyNs` | int64 | (group of `CandidateNs`) Disjoint non-payload intervals within barrier-to-settlement fixed cost. |
| `Volumes[].Chunk.Stats.LastCut.PayloadNs` | int64 | disjoint streaming/copy/upload wall intervals |
| `Volumes[].Chunk.Stats.LastCut.COWWALReadAttempts` | uint64 | Local validated WAL attempts and local copy duration, including savers. |
| `Volumes[].Chunk.Stats.LastCut.COWLocalReadNs` | int64 | (group of `COWWALReadAttempts`) Local validated WAL attempts and local copy duration, including savers. |
| `Volumes[].Chunk.Stats.LastCut.COWSavedChunks` | int | (group of `COWWALReadAttempts`) Local validated WAL attempts and local copy duration, including savers. |
| `Volumes[].Chunk.Stats.LastCut.COWSaveNs` | int64 | (group of `COWWALReadAttempts`) Local validated WAL attempts and local copy duration, including savers. |
| `Volumes[].Chunk.Stats.LastCut.COWWaitNs` | int64 | (group of `COWWALReadAttempts`) Local validated WAL attempts and local copy duration, including savers. |
| `Volumes[].Chunk.Stats.LastCut.BarrierPauseNs` | int64 | BarrierPauseNs is the guest pause: from the capture barrier's Lock request until it is released. LockWaitNs is its first part, the wait for writers already holding the capture barrier shared. |
| `Volumes[].Chunk.Stats.LastCut.LockWaitNs` | int64 | (group of `BarrierPauseNs`) BarrierPauseNs is the guest pause: from the capture barrier's Lock request until it is released. LockWaitNs is its first part, the wait for writers already holding the capture barrier shared. |
| `Volumes[].Chunk.Stats.LastCut.DrainNs` | int64 | (group of `BarrierPauseNs`) BarrierPauseNs is the guest pause: from the capture barrier's Lock request until it is released. LockWaitNs is its first part, the wait for writers already holding the capture barrier shared. |
| `Volumes[].Chunk.Stats.LastCut.CASWriteNs` | int64 | (group of `BarrierPauseNs`) BarrierPauseNs is the guest pause: from the capture barrier's Lock request until it is released. LockWaitNs is its first part, the wait for writers already holding the capture barrier shared. |
| `Volumes[].Chunk.Stats.LastCut.HeadReadbackNs` | int64 | (group of `BarrierPauseNs`) BarrierPauseNs is the guest pause: from the capture barrier's Lock request until it is released. LockWaitNs is its first part, the wait for writers already holding the capture barrier shared. |
| `Volumes[].Chunk.Stats.LastCut.SyncNs` | int64 | (group of `BarrierPauseNs`) BarrierPauseNs is the guest pause: from the capture barrier's Lock request until it is released. LockWaitNs is its first part, the wait for writers already holding the capture barrier shared. |
| `Volumes[].Chunk.Stats.LastCut.CopyNs` | int64 | (group of `BarrierPauseNs`) BarrierPauseNs is the guest pause: from the capture barrier's Lock request until it is released. LockWaitNs is its first part, the wait for writers already holding the capture barrier shared. |
| `Volumes[].Chunk.Stats.LastCut.CandidateChunks` | int | (group of `BarrierPauseNs`) BarrierPauseNs is the guest pause: from the capture barrier's Lock request until it is released. LockWaitNs is its first part, the wait for writers already holding the capture barrier shared. |
| `Volumes[].Chunk.Stats.LastCut.UploadedChunks` | int | (group of `BarrierPauseNs`) BarrierPauseNs is the guest pause: from the capture barrier's Lock request until it is released. LockWaitNs is its first part, the wait for writers already holding the capture barrier shared. |
| `Volumes[].Chunk.Stats.LastCut.UploadedBytes` | int64 | (group of `BarrierPauseNs`) BarrierPauseNs is the guest pause: from the capture barrier's Lock request until it is released. LockWaitNs is its first part, the wait for writers already holding the capture barrier shared. |
| `Volumes[].Chunk.Stats.LastCut.ZeroedChunks` | int | (group of `BarrierPauseNs`) BarrierPauseNs is the guest pause: from the capture barrier's Lock request until it is released. LockWaitNs is its first part, the wait for writers already holding the capture barrier shared. |
| `Volumes[].Chunk.Stats.LastCut.UnchangedChunks` | int | (group of `BarrierPauseNs`) BarrierPauseNs is the guest pause: from the capture barrier's Lock request until it is released. LockWaitNs is its first part, the wait for writers already holding the capture barrier shared. |
| `Volumes[].Chunk.Stats.LastCut.UploadNs` | int64 | (group of `BarrierPauseNs`) BarrierPauseNs is the guest pause: from the capture barrier's Lock request until it is released. LockWaitNs is its first part, the wait for writers already holding the capture barrier shared. |
| `Volumes[].Chunk.Stats.LastCut.CASNs` | int64 | (group of `BarrierPauseNs`) BarrierPauseNs is the guest pause: from the capture barrier's Lock request until it is released. LockWaitNs is its first part, the wait for writers already holding the capture barrier shared. |
| `Volumes[].Chunk.Stats.LastCut.MapPersistNs` | int64 | (group of `BarrierPauseNs`) BarrierPauseNs is the guest pause: from the capture barrier's Lock request until it is released. LockWaitNs is its first part, the wait for writers already holding the capture barrier shared. |
| `Volumes[].Chunk.Stats.LastCut.CASResult` | string | (group of `BarrierPauseNs`) BarrierPauseNs is the guest pause: from the capture barrier's Lock request until it is released. LockWaitNs is its first part, the wait for writers already holding the capture barrier shared. |
| `Volumes[].Chunk.Stats.LastCut.TotalNs` | int64 | (group of `BarrierPauseNs`) BarrierPauseNs is the guest pause: from the capture barrier's Lock request until it is released. LockWaitNs is its first part, the wait for writers already holding the capture barrier shared. |
| `Volumes[].Chunk.Stats.LastCut.StageRounds` | int | Pre-copy (staging by the copy-on-write side budget, M5 Stage): StageRounds staging rounds staged StagedChunks chunks outside the barrier; StagedChunksUsed of the uploads in HEAD came from staging. BarrierCopyChunks were copied under the barrier. BarrierOverBound: more than the legacy fixture BarrierBound; always false in production, where that bound is zero. |
| `Volumes[].Chunk.Stats.LastCut.StagedChunks` | int | (group of `StageRounds`) Pre-copy (staging by the copy-on-write side budget, M5 Stage): StageRounds staging rounds staged StagedChunks chunks outside the barrier; StagedChunksUsed of the uploads in HEAD came from staging. BarrierCopyChunks were copied under the barrier. BarrierOverBound: more than the legacy fixture BarrierBound; always false in production, where that bound is zero. |
| `Volumes[].Chunk.Stats.LastCut.StagedChunksUsed` | int | (group of `StageRounds`) Pre-copy (staging by the copy-on-write side budget, M5 Stage): StageRounds staging rounds staged StagedChunks chunks outside the barrier; StagedChunksUsed of the uploads in HEAD came from staging. BarrierCopyChunks were copied under the barrier. BarrierOverBound: more than the legacy fixture BarrierBound; always false in production, where that bound is zero. |
| `Volumes[].Chunk.Stats.LastCut.BarrierCopyChunks` | int | (group of `StageRounds`) Pre-copy (staging by the copy-on-write side budget, M5 Stage): StageRounds staging rounds staged StagedChunks chunks outside the barrier; StagedChunksUsed of the uploads in HEAD came from staging. BarrierCopyChunks were copied under the barrier. BarrierOverBound: more than the legacy fixture BarrierBound; always false in production, where that bound is zero. |
| `Volumes[].Chunk.Stats.LastCut.BarrierOverBound` | bool | (group of `StageRounds`) Pre-copy (staging by the copy-on-write side budget, M5 Stage): StageRounds staging rounds staged StagedChunks chunks outside the barrier; StagedChunksUsed of the uploads in HEAD came from staging. BarrierCopyChunks were copied under the barrier. BarrierOverBound: more than the legacy fixture BarrierBound; always false in production, where that bound is zero. |
| `Volumes[].Chunk.Stats.LastCut.ManifestRootReads` | int64 | The attempt's manifest work, as the remote counts it when each piece completes: HEAD's roots and segments read (the commit check's and any HEAD re-read's), and the roots and segments sent (an acknowledged create; an object already present sends nothing) with their bytes. ManifestNs is the commit check's share of that time. |
| `Volumes[].Chunk.Stats.LastCut.ManifestSegmentReads` | int64 | (group of `ManifestRootReads`) The attempt's manifest work, as the remote counts it when each piece completes: HEAD's roots and segments read (the commit check's and any HEAD re-read's), and the roots and segments sent (an acknowledged create; an object already present sends nothing) with their bytes. ManifestNs is the commit check's share of that time. |
| `Volumes[].Chunk.Stats.LastCut.ManifestRootWrites` | int64 | (group of `ManifestRootReads`) The attempt's manifest work, as the remote counts it when each piece completes: HEAD's roots and segments read (the commit check's and any HEAD re-read's), and the roots and segments sent (an acknowledged create; an object already present sends nothing) with their bytes. ManifestNs is the commit check's share of that time. |
| `Volumes[].Chunk.Stats.LastCut.ManifestSegmentWrites` | int64 | (group of `ManifestRootReads`) The attempt's manifest work, as the remote counts it when each piece completes: HEAD's roots and segments read (the commit check's and any HEAD re-read's), and the roots and segments sent (an acknowledged create; an object already present sends nothing) with their bytes. ManifestNs is the commit check's share of that time. |
| `Volumes[].Chunk.Stats.LastCut.ManifestBytesWritten` | int64 | (group of `ManifestRootReads`) The attempt's manifest work, as the remote counts it when each piece completes: HEAD's roots and segments read (the commit check's and any HEAD re-read's), and the roots and segments sent (an acknowledged create; an object already present sends nothing) with their bytes. ManifestNs is the commit check's share of that time. |
| `Volumes[].Chunk.Stats.LastCutH` | uint64 | the LSN the last successful cut published |
| `Volumes[].Chunk.Stats.LastCutNs` | int64 | when it completed (wall clock, Unix ns) |
| `Volumes[].Chunk.Stats.CutSeq` | uint64 | successful cuts of this layer so far (in-process); the latest cut's identity |
| `Volumes[].Chunk.Stats.UpgradePass` | object | the upgrade compare pass after a v1.0 store's upgrade (v1.1): none, seeded, running, done or failed |
| `Volumes[].Chunk.Stats.UpgradePass.State` | string | none, seeded, running, done or failed; carried across a stop (read the status, never the pass's cursor file) |
| `Volumes[].Chunk.Stats.UpgradePass.Compared` | uint64 | chunks the pass found unknown and compared, across stops |
| `Volumes[].Chunk.Stats.UpgradePass.Total` | uint64 | chunks the pass walks |
| `Volumes[].Chunk.Stats.UpgradePass.Superseded` | uint64 | Superseded counts chunks written during their own compare (in this process): not hashed, not counted as compared; each is dirty and the next cut takes it as any written chunk. |
| `Volumes[].Chunk.Stats.UpgradePass.Outcome` | string | why a failed pass stopped; while the pass has not ended a cut, snapshot, backup or sealing detach is refused with code in_progress (omitted when empty) |
| `Volumes[].Chunk.Stats.FormatLevelBehindVolume` | bool | FormatLevelBehindVolume: attached at format level 0 to a store and HEAD already on v1.1 (format_level_behind_volume): served as v1.1. |
| `Volumes[].Chunk.Stats.FormatV11` | bool | FormatV11: the layer runs the v1.1 store format (decided at attach from its format level and the store): what a gate asserts it measured. |
| `Volumes[].Chunk.Stats.BarrierOverBound` | uint64 | BarrierOverBound counts cuts whose barrier copied more than the bound after the staging rounds. |
| `Volumes[].Chunk.Stats.AbsentChunks` | int | AbsentChunks is the number of HEAD-named chunks still absent with a block not local (what HydrateAll would still fetch); 0 = fully local. |
| `Volumes[].Chunk.Stats.COWSpillCap` | int64 | COWSpillCap is the last cut's side-file cap in bytes, read once per cut; COWSpillCapReason is why it is 0, when the free space made it so: no_room_to_cut (half the free space is within the 1 GiB reserve) or free_space_unreadable (the free space could not be read). |
| `Volumes[].Chunk.Stats.COWSpillCapReason` | string | (group of `COWSpillCap`) COWSpillCap is the last cut's side-file cap in bytes, read once per cut; COWSpillCapReason is why it is 0, when the free space made it so: no_room_to_cut (half the free space is within the 1 GiB reserve) or free_space_unreadable (the free space could not be read). (omitted when empty) |
| `Volumes[].Chunk.Stats.LastCutFailure` | object | LastCutFailure is the last failed cut since the last successful one, whatever requested it; nil after a success. Refusals (admission, fenced, detached, reconciling) are not failures and leave it alone. (omitted when empty) |
| `Volumes[].Chunk.Stats.LastCutFailure.Code` | string | remote_full (the chunk store has no space; retry after adding capacity), remote_unavailable, a CutsAborted reason, or cut_failed |
| `Volumes[].Chunk.Stats.LastCutFailure.Cause` | string | the failure's text, at most 1024 bytes |
| `Volumes[].Chunk.Stats.LastCutFailure.Ns` | int64 | when it failed (wall clock, Unix ns) |
| `Volumes[].Chunk.Stats.LastCutFailure.Repeats` | uint64 | failures with this code in a row, this one included |
| `Volumes[].Chunk.HostBudget` | interface | the host background-cut budget state, with --host-limit-dir (omitted when empty) |
| `Volumes[].Chunk.ScheduledSnapshot` | object | the scheduled-snapshot state; absent when the schedule is off or its loop has not started (omitted when empty) |
| `Volumes[].Chunk.ScheduledSnapshot.periodNs` | int64 | PeriodNs is the schedule period; zero means off. |
| `Volumes[].Chunk.ScheduledSnapshot.lastOkNs` | int64 | LastOkNs is when the last scheduled snapshot succeeded; zero: none in HEAD or since the schedule started. |
| `Volumes[].Chunk.ScheduledSnapshot.nextDueNs` | int64 | NextDueNs is when the next attempt is due. |
| `Volumes[].Chunk.ScheduledSnapshot.lastFailure` | object | LastFailure is the last failed attempt since the last success. (omitted when empty) |
| `Volumes[].Chunk.ScheduledSnapshot.lastFailure.code` | string | Code is the failure's code, as the control endpoint reports it. |
| `Volumes[].Chunk.ScheduledSnapshot.lastFailure.atNs` | int64 | AtNs is when the attempt failed. |
| `Volumes[].Chunk.ScheduledSnapshot.attempts` | int | Attempts counts the failed attempts since the last success. |
| `Volumes[].Chunk.ScheduledSnapshot.skipped{}` | int64 | Skipped counts attempts not made, by reason. (omitted when empty) |
| `Volumes[].Chunk.ScheduledSnapshot.snapshot_overdue` | bool | Overdue reports that no scheduled snapshot succeeded within one period plus the retry cap, counted from the last success or, before any, from the start of the schedule. |
| `Volumes[].Chunk.CutSchedule` | object | the automatic-cut timer's state; absent when the timer is off or its loop has not started (omitted when empty) |
| `Volumes[].Chunk.CutSchedule.HostSlotWaits` | uint64 | automatic cuts refused because every host slot was held |
| `Volumes[].Chunk.CutSchedule.HostSlotWaitSinceNs` | int64 | wall time of the first such refusal since the last successful cut; 0 when not waiting |
| `Volumes[].Chunk.CutSchedule.TicketDueHostNs` | int64 | the waiting cut's host ticket: its due time on the host monotonic clock; absent when not waiting (omitted when empty) |
| `Volumes[].Chunk.CutSchedule.TicketsSkipped` | uint64 | earlier tickets the waiting cut passed by the skip rule (omitted when empty) |
| `Volumes[].Chunk.CutSchedule.TicketDropReason` | string | why the last ticket was given up before admission, when it was a refusal that waiting cannot fix (omitted when empty) |
| `Volumes[].Chunk.CutSchedule.CutYields` | uint64 | automatic cut attempts that yielded their host slot to a waiting cut (not failures) (omitted when empty) |
| `Volumes[].Warnings[]` | string | Warnings are the store's typed recovery warnings (e.g. wal_hole_suspected, issue #51); they do not change readiness. HolesSuspected counts the recoveries that found a WAL hole. (omitted when empty) |
| `Volumes[].HolesSuspected` | uint64 | (group of `Warnings`) Warnings are the store's typed recovery warnings (e.g. wal_hole_suspected, issue #51); they do not change readiness. HolesSuspected counts the recoveries that found a WAL hole. (omitted when empty) |
### `GET /status/recovery`
The engine's replica projection (only with recovery enabled). Go type `engine.ReplicaProjection`.
| Field | Type | Meaning |
|---|---|---|
| `Mode` | Mode (string) | the engine mode (idle, recovering, healthy, degraded) |
| `RecoveryDecision` | RecoveryDecision (string) | the recovery class the R/S/H boundaries call for |
| `SessionKind` | SessionKind (string) | the kind of the current recovery session, if any |
| `SessionPhase` | SessionPhase (string) | its phase |
| `Epoch` | uint64 | the authority epoch |
| `EndpointVersion` | uint64 | the endpoint version within the epoch |
| `R` | uint64 | the replica's durable boundary (LSN) |
| `S` | uint64 | the primary's recoverable start boundary (WAL tail LSN) |
| `H` | uint64 | the primary's target boundary (head LSN) |
| `Reason` | string | why the engine is in this mode or decision |
### `GET /status/chunk`
Chunk store usage of a walstore-chunk volume (only with --chunk-control-endpoint). Go type `chunkstore.Usage`.
| Field | Type | Meaning |
|---|---|---|
| `snapshots` | int | — |
| `dependents` | int | — |
| `own_chunks` | int | — |
| `foreign_chunks` | int | — |
### `GET /status/nvme`
NVMe/TCP frontend counters. Go type `volume.NVMeStatus`.
| Field | Type | Meaning |
|---|---|---|
| `volumeID` | string | the served volume |
| `stats` | object | the NVMe/TCP target's counters since start |
| `stats.sessions_accepted` | uint64 | TCP sessions accepted |
| `stats.admin_connects` | uint64 | admin-queue Connect commands |
| `stats.io_connects` | uint64 | I/O-queue Connect commands |
| `stats.read_commands` | uint64 | Read commands received |
| `stats.write_commands` | uint64 | Write commands received |
| `stats.flush_commands` | uint64 | Flush commands received |
| `stats.inline_write_commands` | uint64 | writes whose data came inline in the command capsule |
| `stats.inline_write_bytes` | uint64 | their data bytes |
| `stats.r2t_write_commands` | uint64 | writes whose data the target requested with R2T |
| `stats.r2t_write_bytes` | uint64 | their data bytes |
| `stats.h2c_data_pdus` | uint64 | host-to-controller data PDUs received |
| `stats.h2c_data_bytes` | uint64 | their bytes |
| `stats.c2h_data_pdus` | uint64 | controller-to-host data PDUs sent (read data) |
| `stats.c2h_data_bytes` | uint64 | their bytes |
| `stats.write_capsule_receive_parse_ops` | uint64 | Write phase attribution: for each phase, the operations timed and their total nanoseconds (overlapping phases can overlap in time). |
| `stats.write_capsule_receive_parse_ns` | uint64 | total nanoseconds of those operations |
| `stats.r2t_data_collection_ops` | uint64 | R2T data collections (R2T send to the last H2CData) |
| `stats.r2t_data_collection_ns` | uint64 | total nanoseconds of those operations |
| `stats.write_dispatch_wait_ops` | uint64 | waits for a write handler to take the command |
| `stats.write_dispatch_wait_ns` | uint64 | total nanoseconds of those operations |
| `stats.write_handler_ops` | uint64 | write handler runs (the backend write) |
| `stats.write_handler_ns` | uint64 | total nanoseconds of those operations |
| `stats.write_completion_queue_wait_ops` | uint64 | waits of a completion for the send queue |
| `stats.write_completion_queue_wait_ns` | uint64 | total nanoseconds of those operations |
| `stats.write_completion_send_ops` | uint64 | completion sends to the host |
| `stats.write_completion_send_ns` | uint64 | total nanoseconds of those operations |
### `GET /status/guests`
Guests connected now through the counted frontends (NVMe/TCP, iSCSI); an observation, not complete detection. Go type `volume.GuestsStatus`.
| Field | Type | Meaning |
|---|---|---|
| `volumeID` | string | the served volume |
| `frontends{}` | int | guests connected now per counted frontend ("nvme": NVMe/TCP hosts, "iscsi": Normal sessions); absent: not served or not counted |
| `connected` | int | the sum over Frontends; 0 is not proof that nothing uses the volume |
### `GET /status/ublk`
Ublk frontend counters. Go type `volume.UblkStatus`.
| Field | Type | Meaning |
|---|---|---|
| `volumeID` | string | the served volume |
| `stats` | object | the ublk device's request counters since start |
| `stats.read_requests` | uint64 | read requests received |
| `stats.write_requests` | uint64 | write requests received |
| `stats.flush_requests` | uint64 | flush requests received |
| `stats.fua_writes` | uint64 | writes with forced unit access |
| `stats.other_requests` | uint64 | requests of any other operation |
| `stats.errors` | uint64 | requests completed with a negative result |
### `GET /status/frontend-capabilities`
The frontends this host can serve. Go type `volume.FrontendCapabilitiesStatus`.
| Field | Type | Meaning |
|---|---|---|
| `volumeID` | string | the served volume |
| `hostCapabilityIsProductClaim` | bool | always false: host facts, not a supported-product claim |
| `frontendTransports[]` | object | one entry per protocol and transport |
| `frontendTransports[].protocol` | string | the block protocol (iscsi, nvme, ublk) |
| `frontendTransports[].transport` | string | its transport (tcp, rdma, local) |
| `frontendTransports[].supported` | bool | this build and host can serve it |
| `frontendTransports[].listenerImplemented` | bool | a listener exists for it in this binary |
| `frontendTransports[].listenerStarted` | bool | the listener is running now |
| `frontendTransports[].startAllowed` | bool | the preflight checks allow starting it |
| `frontendTransports[].startReason` | string | why it may or may not start (omitted when empty) |
| `frontendTransports[].reason` | string | why it is or is not supported |
| `frontendTransports[].preflight[]` | object | the host facts checked for it (omitted when empty) |
| `frontendTransports[].preflight[].name` | string | the host fact checked (a module, device or privilege) |
| `frontendTransports[].preflight[].available` | bool | the fact holds on this host |
| `frontendTransports[].preflight[].reason` | string | why it holds or not |
| `frontendTransports[].preflight[].detail` | string | extra detail, such as the path probed (omitted when empty) |
<!-- END GENERATED -->