-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 a callback register interface of Part #2485
add a callback register interface of Part #2485
Conversation
src/kvstore/Part.h
Outdated
}; | ||
|
||
using OnElectedCallBack = std::function<void(const CallbackOptions& opt)>; | ||
void registerOnElected(OnElectedCallBack cb); |
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.
Where do we need to call this method?
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.
toss will
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.
toss will
got
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
Plz resolve the conflicts~ |
5dbc3e9
5dbc3e9
to
2e7686a
Compare
2e7686a
to
f18d4fe
Compare
No description provided.