You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by "horizonzy (via GitHub)" <gi...@apache.org> on 2023/09/20 09:02:50 UTC

[GitHub] [bookkeeper] horizonzy commented on pull request #4081: Speed the Auditor test end time.

horizonzy commented on PR #4081:
URL: https://github.com/apache/bookkeeper/pull/4081#issuecomment-1727287750

   `
   
   > My question is why the auditor is blocked for 30 seconds?
   
   ```
   "AuditorBookie-127.0.0.1:59740" #306 daemon prio=5 os_prio=31 cpu=0.24ms elapsed=50.97s tid=0x000000011f1a1400 nid=0x13407 waiting on condition  [0x00000004e8a36000]
      java.lang.Thread.State: WAITING (parking)
   	at jdk.internal.misc.Unsafe.park(java.base@17.0.3.1/Native Method)
   	- parking to wait for  <0x00002000050dcff0> (a java.util.concurrent.CountDownLatch$Sync)
   	at java.util.concurrent.locks.LockSupport.park(java.base@17.0.3.1/LockSupport.java:211)
   	at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(java.base@17.0.3.1/AbstractQueuedSynchronizer.java:715)
   	at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(java.base@17.0.3.1/AbstractQueuedSynchronizer.java:1047)
   	at java.util.concurrent.CountDownLatch.await(java.base@17.0.3.1/CountDownLatch.java:230)
   	at org.apache.bookkeeper.replication.ReplicationEnableCb.await(ReplicationEnableCb.java:56)
   	at org.apache.bookkeeper.replication.AuditorBookieCheckTask.waitIfLedgerReplicationDisabled(AuditorBookieCheckTask.java:181)
   	at org.apache.bookkeeper.replication.AuditorBookieCheckTask.auditBookies(AuditorBookieCheckTask.java:104)
   	at org.apache.bookkeeper.replication.AuditorBookieCheckTask.startAudit(AuditorBookieCheckTask.java:86)
   	at org.apache.bookkeeper.replication.AuditorBookieCheckTask.runTask(AuditorBookieCheckTask.java:64)
   	at org.apache.bookkeeper.replication.AuditorTask.run(AuditorTask.java:72)
   	at org.apache.bookkeeper.replication.AuditorBookieCheckTask.run(AuditorBookieCheckTask.java:40)
   	at java.util.concurrent.Executors$RunnableAdapter.call(java.base@17.0.3.1/Executors.java:539)
   	at java.util.concurrent.FutureTask.runAndReset(java.base@17.0.3.1/FutureTask.java:305)
   	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(java.base@17.0.3.1/ScheduledThreadPoolExecutor.java:305)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@17.0.3.1/ThreadPoolExecutor.java:1136)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@17.0.3.1/ThreadPoolExecutor.java:635)
   	at java.lang.Thread.run(java.base@17.0.3.1/Thread.java:833)
   ```
   The `AuditorBookie` thread is blocked.


-- 
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@bookkeeper.apache.org

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