-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Add SCANDUMP and LOADCHUNK for bf and cf #2668
Conversation
probabilistic.go
Outdated
@@ -165,6 +169,79 @@ func (c cmdable) BFExists(ctx context.Context, key string, element interface{}) | |||
return cmd | |||
} | |||
|
|||
func (c cmdable) BFLoadChunk(ctx context.Context, key string, iterator int64, data interface{}) *StatusCmd { | |||
args := []interface{}{"bf.loadchunk", key, iterator, data} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given history (and nothing else) commands really should be all in CAPS everywhere. Yes, we're not doing that currently, but no time like the present.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great first PR. Nice and small - the comments are nits, code-wise makes sense and looks in line. I see this as starting things off to be like some of the others.
86aec28
to
bde4fdd
Compare
No description provided.