-
Notifications
You must be signed in to change notification settings - Fork 16
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
Replace KEYS and DEL #508
base: main
Are you sure you want to change the base?
Replace KEYS and DEL #508
Conversation
}); | ||
auto reply = promise.get_future().get(); | ||
const auto &keys = reply->ReadAsStringArray(); | ||
// Get all keys |
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.
It's better to add some unit tests.
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.
LGTM
void Scan(const std::function<void()> on_done); | ||
void OnScanCallback(const std::shared_ptr<CallbackReply> &reply, | ||
std::function<void()> on_done); | ||
std::unique_ptr<RedisClient> &redis_client_; |
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.
Please add some moments to explain there members and methods.
Why are these changes needed?
Related to Issue #507
Related issue number
Checks
git commit -s
) in this PR.scripts/format.sh
to lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/
under thecorresponding
.rst
file.