Skip to content
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

Fix VALIDATESCALETO vec capacity calculation and adding a unit test #43

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

zackcam
Copy link
Contributor

@zackcam zackcam commented Jan 30, 2025

Updating capacity calculation in calculate_max_scaled_capacity to match actual vec used in bloom. This involved now having 1 as the starting capacity instead of 4. Also have added a unit test to make sure our capacity calculation always follows the vec capacity

…ity caluclation matches actual capacity

Signed-off-by: zackcam <[email protected]>
@zackcam zackcam changed the title Fixing capacity calcualtion and adding a unit test to make sure capacity calculation matches actual capacity Fixing capacity calculation and adding a unit test to make sure capacity calculation matches actual capacity Jan 30, 2025
@KarthikSubbarao KarthikSubbarao changed the title Fixing capacity calculation and adding a unit test to make sure capacity calculation matches actual capacity Fix VALIDATESCALETO vec capacity calculation and adding a unit test Jan 30, 2025
@KarthikSubbarao KarthikSubbarao merged commit 56f631f into valkey-io:unstable Jan 30, 2025
6 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