Skip to content

blockstore: check that shred_max is power of two #4683

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 28, 2025

Conversation

two-heart
Copy link
Collaborator

nit, but it is easy to imagine an operator putting in a value that is not a power of two, which would lead to fd_buf_shred_map_footprint being 0. We want a meaningful error message in this case.

@two-heart two-heart requested a review from lidatong April 2, 2025 10:31
nit, but it is easy to imagine an operator putting in a value that is not a power of two, which would lead to fd_buf_shred_map_footprint being 0.
@jvarela-jump jvarela-jump added this pull request to the merge queue Apr 28, 2025
Merged via the queue into firedancer-io:main with commit 5896210 Apr 28, 2025
10 checks passed
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