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 2018/10/23 17:01:00 UTC
[jira] [Commented] (RATIS-368)
TestRaftSnapshotWithSimulatedRpc.testRestartPeer is failing.
[ https://issues.apache.org/jira/browse/RATIS-368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16660972#comment-16660972 ]
Tsz Wo Nicholas Sze commented on RATIS-368:
-------------------------------------------
r368_20181023.patch: check if conf already exists in addConfiguration.
> TestRaftSnapshotWithSimulatedRpc.testRestartPeer is failing.
> ------------------------------------------------------------
>
> Key: RATIS-368
> URL: https://issues.apache.org/jira/browse/RATIS-368
> Project: Ratis
> Issue Type: Bug
> Components: server
> Reporter: Tsz Wo Nicholas Sze
> Assignee: Tsz Wo Nicholas Sze
> Priority: Major
> Attachments: r368_20181023.patch
>
>
> TestRaftSnapshotWithSimulatedRpc.testRestartPeer and some other tests are failing.
> {code}
> Caused by: java.lang.IllegalStateException
> at org.apache.ratis.util.Preconditions.assertTrue(Preconditions.java:33)
> at org.apache.ratis.server.impl.ConfigurationManager.addConfiguration(ConfigurationManager.java:47)
> at org.apache.ratis.server.impl.ServerState.setRaftConf(ServerState.java:351)
> {code}
> ConfigurationManager may already have added a conf from the conf metadata file. Then, it fails when adding it again from the log.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)