-
Notifications
You must be signed in to change notification settings - Fork 241
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
Async operation for writing append record #379
Comments
First of all, please note that appended logs should be durable on disk at the time There can be two options:
|
Currently Nuraft has blocking append call (end_of_append_batch) for flush/store the append log records. Is there any way to make this as async operation.
At the Follower, append is executed by nuraft thread, but on the Leader, where you submit the log record to raft, it has to block on end_of_append_batch() after multiple append calls. Is there any way to handover this to Nuraft thread, so that Leader server thread doesn't need to block on this?
The text was updated successfully, but these errors were encountered: