We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在星球项目描述里:“实现Raft协议的心跳与选举机制,通过定时线程池触发心跳与选举任务,并维护集群的日志提交状态”,想问下定时线程池是在哪里实现的,体现在哪里呀?谢谢~
The text was updated successfully, but these errors were encountered:
@fucccx 更好的描述也许应该是:通过定时的方式,线程池xxx。 你可以关注:
m_ioManager->scheduler([this]() -> void { this->leaderHearBeatTicker(); }); m_ioManager->scheduler([this]() -> void { this->electionTimeOutTicker(); }); std::thread t3(&Raft::applierTicker, this); t3.detach();
相关内容
Sorry, something went wrong.
No branches or pull requests
在星球项目描述里:“实现Raft协议的心跳与选举机制,通过定时线程池触发心跳与选举任务,并维护集群的日志提交状态”,想问下定时线程池是在哪里实现的,体现在哪里呀?谢谢~
The text was updated successfully, but these errors were encountered: