Tsz-wo Sze created RATIS-2127: --------------------------------- Summary: TestRetryCacheWithGrpc may fail with object already completely released. Key: RATIS-2127 URL: https://issues.apache.org/jira/browse/RATIS-2127 Project: Ratis Issue Type: Sub-task Components: gRPC Reporter: Tsz-wo Sze Assignee: Duong
Found IllegalStateException: Failed to release: object has already been completely released. {code} 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) {code} See [the logs|https://issues.apache.org/jira/secure/attachment/13069289/TestRetryCacheWithGrpc.tar.gz]. -- This message was sent by Atlassian Jira (v8.20.10#820010)