You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,8 @@ SERVER_VERSION=8.0.0
43
43
# Build with asan, you may need to remove the old valkey binary if you have used ./build.sh before. You can do this by deleting the `.build` folder in the `tests` folder
Copy file name to clipboardExpand all lines: src/bloom/utils.rs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -488,15 +488,15 @@ impl BloomObject {
488
488
/// * `capacity` - The size of the initial filter in the bloom object.
489
489
/// * `fp_rate` - the false positive rate for the bloom object
490
490
/// * `validate_scale_to` - the capacity we check to see if it can scale to. If this method is called from BF.INFO this is set as -1 as we
491
-
/// want to check the maximum size we could scale up till
491
+
/// want to check the maximum size we could scale up till
492
492
/// * `tightening_ratio` - The tightening ratio of the object
493
493
/// * `expansion` - The expanison rate of the object
494
494
///
495
495
/// # Returns
496
496
/// * i64 - The maximum capacity that can be reached if called from BF.INFO. If called from BF.INSERT the size it reached when it became greater than `validate_scale_to`
497
497
/// * ValkeyError - Can return two different errors:
498
-
/// VALIDATE_SCALE_TO_EXCEEDS_MAX_SIZE: When scaling to the wanted capacity would go over the bloom object memory limit
499
-
/// VALIDATE_SCALE_TO_FALSE_POSITIVE_INVALID: When scaling to the wanted capacity would cause the false positive rate to reach 0
498
+
/// VALIDATE_SCALE_TO_EXCEEDS_MAX_SIZE: When scaling to the wanted capacity would go over the bloom object memory limit
499
+
/// VALIDATE_SCALE_TO_FALSE_POSITIVE_INVALID: When scaling to the wanted capacity would cause the false positive rate to reach 0
0 commit comments