Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions crates/lance-context-wal/src/service/health.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ struct View {
node: u64,
ready: bool,
groups: BTreeMap<u64, Group>,
admission: runtime::Admission,
disk: Option<crate::admission::Snapshot>,
maintenance: maintenance::Progress,
snapshots_sent: u64,
Expand Down Expand Up @@ -63,6 +64,7 @@ impl State {
node: self.node,
ready,
groups,
admission: self.handle.admission(),
disk: self.handle.disk_budget(),
maintenance: self
.maintenance
Expand Down
5 changes: 5 additions & 0 deletions docs/design/wal-node-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ must eventually stop; checkpoints cannot discard that data to improve a score.
## Observation and qualification

The diagnostic HTTP listener serves `/health/live`, `/health/ready` and `/status`.
The status and readiness responses include `admission` observations for data,
control, incoming peers and outgoing peers. Each lane reports request and byte
capacity, current usage, and separate rejection counters. These independently
sampled local values distinguish request pressure from response-byte pressure;
they exclude the transport's separate budgets and do not change readiness.
It allows at most 16 connections, bounds header buffers, disables keepalive and
uses a two-second connection deadline, independently of WAL RPC capacity.
Readiness reports active local workers and fresh local observations; it is not
Expand Down
Loading