[
https://issues.apache.org/jira/browse/RATIS-721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16954279#comment-16954279
]
Tsz-wo Sze commented on RATIS-721:
----------------------------------
There should be an error message right before the ILLEGAL TRANSITION. Could
you also show it?
{code}
LOG.error(this + " failed RaftLog", e);
lifeCycle.transition(EXCEPTION);
{code}
> LogAppender$AppenderDaemon.run fails due to ILLEGAL TRANSITION
> --------------------------------------------------------------
>
> Key: RATIS-721
> URL: https://issues.apache.org/jira/browse/RATIS-721
> Project: Ratis
> Issue Type: Bug
> Components: server
> Reporter: Lokesh Jain
> Priority: Major
>
>
> {code:java}
> Exception in thread
> "org.apache.ratis.server.impl.LogAppender$AppenderDaemon$$Lambda$343/1887343319@7c2935ab"
> java.lang.IllegalStateException: ILLEGAL TRANSITION: In
> 7cd8590b-b724-4d53-8888-a565ab6706c7@group-E476037E5613->3b9b7dee-f9c7-48e0-af14-5c043e050b84-GrpcLogAppender-AppenderDaemon,
> CLOSING -> EXCEPTION
> at org.apache.ratis.util.Preconditions.assertTrue(Preconditions.java:63)
> at org.apache.ratis.util.LifeCycle$State.validate(LifeCycle.java:123)
> at org.apache.ratis.util.LifeCycle.transition(LifeCycle.java:143)
> at
> org.apache.ratis.server.impl.LogAppender$AppenderDaemon.run(LogAppender.java:81)
> at java.lang.Thread.run(Thread.java:748)
> {code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)