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

add a callback register interface of Part #2485

Conversation

liuyu85cn
Copy link
Contributor

No description provided.

@liuyu85cn liuyu85cn requested a review from a team August 10, 2021 05:01
};

using OnElectedCallBack = std::function<void(const CallbackOptions& opt)>;
void registerOnElected(OnElectedCallBack cb);
Copy link
Contributor

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

toss will

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

toss will

got

@liuyu85cn liuyu85cn added the ready-for-testing PR: ready for the CI test label Aug 11, 2021
critical27
critical27 previously approved these changes Aug 13, 2021
Copy link
Contributor

@critical27 critical27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@critical27
Copy link
Contributor

Plz resolve the conflicts~

@liuyu85cn liuyu85cn force-pushed the register_callback_interface_to_raft_part branch from 5dbc3e9 to 2e7686a Compare August 16, 2021 01:38
@liuyu85cn liuyu85cn force-pushed the register_callback_interface_to_raft_part branch from 2e7686a to f18d4fe Compare August 17, 2021 01:59
@bright-starry-sky bright-starry-sky merged commit 35fddd9 into vesoft-inc:master Aug 20, 2021
@liuyu85cn liuyu85cn deleted the register_callback_interface_to_raft_part branch October 19, 2021 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-testing PR: ready for the CI test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants