Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-1931 Support Zero-Copy in ratis-grpc
  3. RATIS-2127

TestRetryCacheWithGrpc may fail with object already completely released.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • None
    • None
    • gRPC
    • None

    Description

      Found IllegalStateException: Failed to release: object has already been completely released.

      2024-06-04 12:00:35,728 [s0@group-11B7B1EB32F8->s4-GrpcLogAppender-LogAppenderDaemon] WARN  leader.LogAppenderDaemon (LogAppenderDaemon.java:run(89)) - s0@group-11B7B1EB32F8->s4-GrpcLogAppender-LogAppenderDaemon failed
      java.lang.IllegalStateException: Failed to release: object has already been completely released.
      	at org.apache.ratis.util.ReferenceCountedLeakDetector$Impl.release(ReferenceCountedLeakDetector.java:130)
      	at org.apache.ratis.util.ReferenceCountedLeakDetector$SimpleTracing.release(ReferenceCountedLeakDetector.java:152)
      	at org.apache.ratis.util.ReferenceCountedObject$3.release(ReferenceCountedObject.java:150)
      	at org.apache.ratis.util.ReferenceCountedObject$2.release(ReferenceCountedObject.java:122)
      	at org.apache.ratis.grpc.server.GrpcLogAppender.appendLog(GrpcLogAppender.java:414)
      	at org.apache.ratis.grpc.server.GrpcLogAppender.run(GrpcLogAppender.java:262)
      	at org.apache.ratis.server.leader.LogAppenderDaemon.run(LogAppenderDaemon.java:80)
      	at java.lang.Thread.run(Thread.java:750)
      

      See the logs.

      Attachments

        Issue Links

          Activity

            People

              duongnguyen Duong
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: