You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Lokesh Jain (JIRA)" <ji...@apache.org> on 2019/05/01 06:26:00 UTC
[jira] [Commented] (RATIS-497) IllegalStateException: ILLEGAL
TRANSITION: In LogAppender(s4 -> s1), CLOSING -> RUNNING
[ https://issues.apache.org/jira/browse/RATIS-497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16830886#comment-16830886 ]
Lokesh Jain commented on RATIS-497:
-----------------------------------
[~szetszwo] Thanks for updating the patch! The patch looks good to me. The test failures seem to be related. Few minor comments.
# Preconditions#assertUnique:95 and 98 - Can we print the element name as well?
# We can remove ProtoUtils#toRaftPeerArray.
# RaftServerTestUtil#waitAndCheckNewConf:54 - We can remove the Arrays.asList(peers) call.
> IllegalStateException: ILLEGAL TRANSITION: In LogAppender(s4 -> s1), CLOSING -> RUNNING
> ---------------------------------------------------------------------------------------
>
> Key: RATIS-497
> URL: https://issues.apache.org/jira/browse/RATIS-497
> Project: Ratis
> Issue Type: Bug
> Components: server, test
> Reporter: Tsz Wo Nicholas Sze
> Assignee: Tsz Wo Nicholas Sze
> Priority: Minor
> Attachments: r497_20190311.patch, r497_20190312.patch, r497_20190314.patch, r497_20190401.patch, r497_20190424.patch, r497_20190427.patch
>
>
> This bug happens when a LogAppender is started (startAppender()) and then immediately stopped (stopAppender()).
> This bug is not a problem in real application, since an uncaught exception with no harm will be thrown, but it will fail unit tests.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)