You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/12/02 17:48:59 UTC

[GitHub] [pulsar] lhotari opened a new issue #13103: [Transactions] SystemTopicBaseTxnBufferSnapshotService.close could hang forever

lhotari opened a new issue #13103:
URL: https://github.com/apache/pulsar/issues/13103


   **Describe the bug**
   SystemTopicBaseTxnBufferSnapshotService.close could hang forever.
   
   Here's an example stacktrace from a test which was stuck:
   ```
      java.lang.Thread.State: WAITING (parking)
           at jdk.internal.misc.Unsafe.park(java.base@11.0.13/Native Method)
           - parking to wait for  <0x00000000c9180010> (a java.util.concurrent.CompletableFuture$Signaller)
           at java.util.concurrent.locks.LockSupport.park(java.base@11.0.13/LockSupport.java:194)
           at java.util.concurrent.CompletableFuture$Signaller.block(java.base@11.0.13/CompletableFuture.java:1796)
           at java.util.concurrent.ForkJoinPool.managedBlock(java.base@11.0.13/ForkJoinPool.java:3128)
           at java.util.concurrent.CompletableFuture.waitingGet(java.base@11.0.13/CompletableFuture.java:1823)
           at java.util.concurrent.CompletableFuture.get(java.base@11.0.13/CompletableFuture.java:1998)
           at org.apache.pulsar.broker.systopic.SystemTopicClientBase.close(SystemTopicClientBase.java:100)
           at org.apache.pulsar.broker.service.SystemTopicBaseTxnBufferSnapshotService.close(SystemTopicBaseTxnBufferSnapshotService.java:83)
           at org.apache.pulsar.broker.PulsarService.closeAsync(PulsarService.java:451)
           at org.apache.pulsar.broker.PulsarService$MockitoMock$1941038334.closeAsync$accessor$2YWt8V2H(Unknown Source)
           at org.apache.pulsar.broker.PulsarService$MockitoMock$1941038334$auxiliary$vnSPbJ8Z.call(Unknown Source)
           at org.mockito.internal.invocation.RealMethod$FromCallable$1.call(RealMethod.java:40)
           at org.mockito.internal.invocation.RealMethod$FromBehavior.invoke(RealMethod.java:62)
           at org.mockito.internal.invocation.InterceptedInvocation.callRealMethod(InterceptedInvocation.java:141)
           at org.mockito.internal.stubbing.answers.CallsRealMethods.answer(CallsRealMethods.java:44)
           at org.mockito.Answers.answer(Answers.java:98)
           at org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:106)
           at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
           at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:33)
           at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:82)
           at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:56)
           at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor$DispatcherDefaultingToRealMethod.interceptSuperCallable(MockMethodInterceptor.java:141)
           at org.apache.pulsar.broker.PulsarService$MockitoMock$1941038334.closeAsync(Unknown Source)
           at org.apache.pulsar.broker.PulsarService.close(PulsarService.java:352)
           at org.apache.pulsar.broker.PulsarService$MockitoMock$1941038334.close$accessor$2YWt8V2H(Unknown Source)
           at org.apache.pulsar.broker.PulsarService$MockitoMock$1941038334$auxiliary$scJJCpq9.call(Unknown Source)
           at org.mockito.internal.invocation.RealMethod$FromCallable$1.call(RealMethod.java:40)
           at org.mockito.internal.invocation.RealMethod$FromBehavior.invoke(RealMethod.java:62)
           at org.mockito.internal.invocation.InterceptedInvocation.callRealMethod(InterceptedInvocation.java:141)
           at org.mockito.internal.stubbing.answers.CallsRealMethods.answer(CallsRealMethods.java:44)
           at org.mockito.Answers.answer(Answers.java:98)
           at org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:106)
           at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
           at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:33)
           at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:82)
           at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:56)
           at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor$DispatcherDefaultingToRealMethod.interceptSuperCallable(MockMethodInterceptor.java:141)
           at org.apache.pulsar.broker.PulsarService$MockitoMock$1941038334.close(Unknown Source)
           at org.apache.pulsar.broker.transaction.TransactionTestBase.internalCleanup(TransactionTestBase.java:295)
           at org.apache.pulsar.broker.transaction.buffer.TransactionBufferClientTest.cleanup(TransactionBufferClientTest.java:95)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] lhotari commented on issue #13103: [Transactions] SystemTopicBaseTxnBufferSnapshotService.close could hang forever

Posted by GitBox <gi...@apache.org>.
lhotari commented on issue #13103:
URL: https://github.com/apache/pulsar/issues/13103#issuecomment-984872423


   @315157973 @codelipenghui @gaoran10 @hangc0276 @congbobo184 @Renkai Could one of you take a look at this failure? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] github-actions[bot] commented on issue #13103: [Transactions] SystemTopicBaseTxnBufferSnapshotService.close could hang forever

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #13103:
URL: https://github.com/apache/pulsar/issues/13103#issuecomment-1051440333


   The issue had no activity for 30 days, mark with Stale label.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org