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

   **Describe the bug**
   
   CoordinationServiceImpl.close hangs and doesn't complete. This causes some 
test runs to get stuck. This might also be a production issue.
   
   [Example thread 
dump](https://jstack.review/?https://gist.github.com/lhotari/6f7d659eb0651491e1a59d545d8559c7#tda_1_tg_25).
   
   ```
   "main" #1 prio=5 os_prio=0 cpu=12135.43ms elapsed=3504.47s 
tid=0x00007fdff8024370 nid=0xab5 waiting on condition  [0x00007fdffede0000]
      java.lang.Thread.State: WAITING (parking)
        at jdk.internal.misc.Unsafe.park([email protected]/Native Method)
        - parking to wait for  <0x00000000c9200010> (a 
java.util.concurrent.CompletableFuture$Signaller)
        at 
java.util.concurrent.locks.LockSupport.park([email protected]/LockSupport.java:211)
        at 
java.util.concurrent.CompletableFuture$Signaller.block([email protected]/CompletableFuture.java:1864)
        at 
java.util.concurrent.ForkJoinPool.unmanagedBlock([email protected]/ForkJoinPool.java:3463)
        at 
java.util.concurrent.ForkJoinPool.managedBlock([email protected]/ForkJoinPool.java:3434)
        at 
java.util.concurrent.CompletableFuture.waitingGet([email protected]/CompletableFuture.java:1898)
        at 
java.util.concurrent.CompletableFuture.join([email protected]/CompletableFuture.java:2117)
        at 
org.apache.pulsar.metadata.coordination.impl.CoordinationServiceImpl.close(CoordinationServiceImpl.java:72)
        at 
org.apache.pulsar.broker.PulsarService.closeAsync(PulsarService.java:526)
        at org.apache.pulsar.broker.PulsarService.close(PulsarService.java:372)
   ```
   
   **Expected behavior**
   
   Calling CoordinationServiceImpl.close should complete or timeout.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to