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

prevote/vote中获取last_log_id()时,为什么需要去触发一下log flush呢,有什么考虑吗?是不是没有必要去做flush呢? #435

Open
Tgianter opened this issue Jan 26, 2024 · 0 comments

Comments

@Tgianter
Copy link

node.cpp:1634

const LogId last_log_id = _log_manager->last_log_id(true);

_log_manager->last_log_id(true)传true的话会触发log flush

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant