Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-1942

GrpcLogAppender has ILLEGAL TRANSITION: STARTING -> STARTING

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.1
    • test, util
    • None

    Description

      TestRetryCacheWithGrpc has the following exception (although the test may pass):

      2023-11-27 11:19:57,509 [s3@group-F810F08D0B98->s4-GrpcLogAppender-LogAppenderDaemon] WARN  leader.LogAppenderDaemon (LogAppenderDaemon.java:run(89)) - s3@group-F810F08D0B98->s4-GrpcLogAppender-LogAppenderDaemon failed
      java.lang.IllegalStateException: ILLEGAL TRANSITION: In s4, STARTING -> STARTING
      	at org.apache.ratis.util.Preconditions.assertTrue(Preconditions.java:61)
      	at org.apache.ratis.util.LifeCycle$State.validate(LifeCycle.java:121)
      	at org.apache.ratis.util.LifeCycle.transition(LifeCycle.java:164)
      	at org.apache.ratis.util.LifeCycle.startAndTransition(LifeCycle.java:268)
      	at org.apache.ratis.util.PeerProxyMap$PeerAndProxy.getProxy(PeerProxyMap.java:63)
      	at org.apache.ratis.util.PeerProxyMap.getProxy(PeerProxyMap.java:110)
      	at org.apache.ratis.grpc.server.GrpcLogAppender.getClient(GrpcLogAppender.java:121)
      	at org.apache.ratis.grpc.server.GrpcLogAppender.appendLog(GrpcLogAppender.java:313)
      	at org.apache.ratis.grpc.server.GrpcLogAppender.run(GrpcLogAppender.java:181)
      	at org.apache.ratis.server.leader.LogAppenderDaemon.run(LogAppenderDaemon.java:80)
      	at java.lang.Thread.run(Thread.java:750)
      

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h