Skip to content

Report reservoir size on error if possible - #11149

Merged
papertigers merged 2 commits into
mainfrom
spr/papertigers/report-reservoir-size-on-error-if-possible
Aug 27, 2026
Merged

Report reservoir size on error if possible#11149
papertigers merged 2 commits into
mainfrom
spr/papertigers/report-reservoir-size-on-error-if-possible

Conversation

@papertigers

Copy link
Copy Markdown
Contributor

When we fail to set the reservoir size, say due to an ENOMEM, we record a zero for reservoir_size in
crdb. It's much better if we report how much memory we were actually able stuff in the reservoir so
that instances could still land on the sled.

@papertigers
papertigers requested a review from leftwo August 24, 2026 21:52

@leftwo leftwo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not our final answer, but it does put us in a better place than zero.

@papertigers
papertigers marked this pull request as ready for review August 27, 2026 16:51
@papertigers
papertigers merged commit 2a9f862 into main Aug 27, 2026
19 checks passed
@papertigers
papertigers deleted the spr/papertigers/report-reservoir-size-on-error-if-possible branch August 27, 2026 16:52
iliana pushed a commit that referenced this pull request Aug 27, 2026
iliana pushed a commit that referenced this pull request Aug 27, 2026
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.

2 participants