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/08/21 22:52:00 UTC
[jira] [Updated] (RATIS-100) Fix bugs for running multiple raft
groups with a state machine
[ https://issues.apache.org/jira/browse/RATIS-100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo Nicholas Sze updated RATIS-100:
--------------------------------------
Description:
We found the following bugs when trying to add a test similar to ReinitializationBaseTest.runTestReinitializeMultiGroups(..) with a state machine.
- In PendingRequests, the {{last}} PendingRequest is not updated in addConfRequest(..).
- In RaftServerImpl, it should check if the group in the request is the same as the group in the server.
- In StateMachineUpdater, it should join the updater thread in stop().
was:We propose to add a test similar to ReinitializationBaseTest.runTestReinitializeMultiGroups(..) with a state machine so that it can test if the states are recorded correctly.
Issue Type: Bug (was: Test)
Summary: Fix bugs for running multiple raft groups with a state machine (was: Test multiple raft groups with a state machine)
> Fix bugs for running multiple raft groups with a state machine
> --------------------------------------------------------------
>
> Key: RATIS-100
> URL: https://issues.apache.org/jira/browse/RATIS-100
> Project: Ratis
> Issue Type: Bug
> Reporter: Tsz Wo Nicholas Sze
> Assignee: Tsz Wo Nicholas Sze
> Attachments: r100_20170804.patch, r100_20170809b.patch, r100_20170809c.patch, r100_20170809.patch, r100_20170810.patch, r100_20170811.patch, r100_20170821.patch, r100_no_leader_case.log
>
>
> We found the following bugs when trying to add a test similar to ReinitializationBaseTest.runTestReinitializeMultiGroups(..) with a state machine.
> - In PendingRequests, the {{last}} PendingRequest is not updated in addConfRequest(..).
> - In RaftServerImpl, it should check if the group in the request is the same as the group in the server.
> - In StateMachineUpdater, it should join the updater thread in stop().
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)