Registry Mirror
Skip to content

Conversation

@beinan

@beinan beinan commented Oct 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

A bounded runtime can reject materializer queries because response-byte credits are exhausted even while request slots remain available. Expose local admission observations for data, control, and incoming/outgoing peer budgets, including capacities, usage, and separate request/byte rejection counters. Counters change only on rejected admission; successful requests keep the existing accounting path.

Fields are sampled independently and describe local pressure, not quorum state. Refs #378.

Testing

  • 127 WAL library tests passed with peer-transport enabled; one existing ignored test.
  • A real three-node quorum test retains 16 Publisher query results: the 4 MiB control budget admits 2 and rejects 14 for byte pressure; 32 MiB admits all 16. A separate two-request limit reports request pressure, and consuming results restores admission.
  • Feature-enabled Clippy and workspace formatting passed.

This exposes diagnostics; it does not change budget defaults or claim an end-to-end throughput improvement.

@beinan
beinan merged commit 0902532 into main Oct 22, 2026
14 checks passed
beinan added a commit that referenced this pull request Oct 22, 2026
## Summary

Node diagnostics currently expose disk admission but cannot show whether
runtime requests are rejected by request slots or byte capacity. Include
the existing bounded admission observations in node status and readiness
responses for data, control, incoming peers, and outgoing peers. The
values are sampled independently, exclude transport budgets, and do not
change readiness decisions.

Refs #378. Built on merged #451 and #460.

## Testing

- Formatting and service-feature Clippy passed.
- All three node-service tests passed, including six actual replica
processes across two groups, snapshot catch-up, leader termination, and
restart.
- The real-quorum publisher admission regression passed: byte pressure,
request pressure, and credit release remain distinguishable.
- The same feature also passed a three-process release smoke check with
separately configured control budgets before promotion onto main.
- Repository CI-equivalent checks passed: workspace Rust tests,
formatting, Clippy, Python tests, Ruff, and Pyright. Nine Python
fixtures initially could not find the server in the shared-target build
environment; all nine passed after building and placing the correct
executable. Final-commit CI is still required before merge.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant