Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
peer-transportenabled; one existing ignored test.This exposes diagnostics; it does not change budget defaults or claim an end-to-end throughput improvement.