[ 
https://issues.apache.org/jira/browse/RATIS-341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16652071#comment-16652071
 ] 

Tsz Wo Nicholas Sze commented on RATIS-341:
-------------------------------------------

[~msingh], just found that TestBatchAppend failed with gRPC after the commit of 
this (c3845bc3f3044f513347d8fec220e4e289a0ea5b).  If I reset the head to right 
before this (b0dc99205ff6394f4f7698b443a5b2989947bcf5), the test can pass.

{code}
commit c3845bc3f3044f513347d8fec220e4e289a0ea5b
Author: Tsz Wo Nicholas Sze <szets...@apache.org>
Date:   Sun Oct 7 05:34:53 2018 +0800

    RATIS-341. Raft log index on the follower should be applied to state 
machine only after writing the log.  Contributed by Mukul Kumar Singh

commit b0dc99205ff6394f4f7698b443a5b2989947bcf5
Author: Tsz Wo Nicholas Sze <szets...@apache.org>
Date:   Sat Oct 6 08:25:41 2018 +0800

    RATIS-340. org.apache.hadoop.ipc.protobuf is shaded to 
org.apache.ratis.shaded.*.
{code}

Could you take a look?

> Raft log index on the follower should be applied to state machine only after 
> writing the log
> --------------------------------------------------------------------------------------------
>
>                 Key: RATIS-341
>                 URL: https://issues.apache.org/jira/browse/RATIS-341
>             Project: Ratis
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 0.3.0
>            Reporter: Mukul Kumar Singh
>            Assignee: Mukul Kumar Singh
>            Priority: Major
>             Fix For: 0.3.0
>
>         Attachments: RATIS-341.003.patch, RATIS-341.003_committed.patch
>
>
> In follower, RaftServerImpl#appendEntriesAsync, entries should only be 
> applied to state machine
> only after writing the log to the state machine.



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

Reply via email to