You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz Wo Nicholas Sze (JIRA)" <ji...@apache.org> on 2017/11/01 22:52:00 UTC
[jira] [Updated] (RATIS-124) RaftLog should be sync'ed on all the
entries appended but not the last entry
[ https://issues.apache.org/jira/browse/RATIS-124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo Nicholas Sze updated RATIS-124:
--------------------------------------
Description:
In RaftServerImpl.appendEntries, it first appends entries to RaftLog and then calls logSync(). It sync the last entry but not all the entries appended by this call.
This is a problem if data are written to state machine asynchronously.
was:
In RaftServerImpl.appendEntries, it first appends entries to RaftLog and then calls logSync(). It sync the latest entry which is not necessarily the last entry appended by this call.
Summary: RaftLog should be sync'ed on all the entries appended but not the last entry (was: RaftLog should be sync'ed on the entries appended but not the latest entry)
> RaftLog should be sync'ed on all the entries appended but not the last entry
> ----------------------------------------------------------------------------
>
> Key: RATIS-124
> URL: https://issues.apache.org/jira/browse/RATIS-124
> Project: Ratis
> Issue Type: Improvement
> Reporter: Tsz Wo Nicholas Sze
> Priority: Major
>
> In RaftServerImpl.appendEntries, it first appends entries to RaftLog and then calls logSync(). It sync the last entry but not all the entries appended by this call.
> This is a problem if data are written to state machine asynchronously.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)