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

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

Thanks, [~ljain], good catch on #2 and #3.  #1 is a good suggestion.  Here is a 
new patch.

r497_20190501.patch

> 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)

Reply via email to