Tsz Wo Nicholas Sze created RATIS-406:
-----------------------------------------

             Summary: In RaftServerImpl, the RaftLog.append(entries) call 
should not hold the RaftServerImpl lock
                 Key: RATIS-406
                 URL: https://issues.apache.org/jira/browse/RATIS-406
             Project: Ratis
          Issue Type: Improvement
          Components: server
            Reporter: Tsz Wo Nicholas Sze
            Assignee: Tsz Wo Nicholas Sze


In RaftServerImpl, the appendEntriesAsync(..) calls must be sequential 
(although the actual log I/O is async).  Otherwise, the entries appended may be 
out of order.

As a result, RaftLog.append(entries) needs not to hold the RaftServerImpl lock.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to