You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Yubo Xu (JIRA)" <ji...@apache.org> on 2017/11/08 04:19:01 UTC

[jira] [Updated] (RATIS-117) Add test for situation when old leader can/cannot commit log

     [ https://issues.apache.org/jira/browse/RATIS-117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yubo Xu updated RATIS-117:
--------------------------
    Attachment: RATIS-117.003.patch

Added new test util method and updated the logic in testOldLeaderNotCommit to only validate the log entries in last term, local test succeeded.

> Add test for situation when old leader can/cannot commit log
> ------------------------------------------------------------
>
>                 Key: RATIS-117
>                 URL: https://issues.apache.org/jira/browse/RATIS-117
>             Project: Ratis
>          Issue Type: Test
>            Reporter: Yubo Xu
>            Assignee: Yubo Xu
>            Priority: Minor
>         Attachments: RATIS-117.001.patch, RATIS-117.002.patch, RATIS-117.003.patch
>
>
> As described in Question 7 of the quiz at [https://ramcloud.stanford.edu/~ongaro/userstudy/quizzes.html], an old leader can complete the commitment of an old log entry satisfying certain requirements. We need tests to confirm Ratis behaves correctly under such cases.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)