[ https://issues.apache.org/jira/browse/BOOKKEEPER-1051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16005975#comment-16005975 ]
ASF GitHub Bot commented on BOOKKEEPER-1051: -------------------------------------------- Github user eolivelli commented on the issue: https://github.com/apache/bookkeeper/pull/141 @jvrao the main explanation is that we already call shutdownNow if the pool does not end execution within 1 minute. In my personal usecases I usually kill bookies (kill -9) and do not wait for graceful shutdown > Fast shutdown for GarbageCollectorThread > ---------------------------------------- > > Key: BOOKKEEPER-1051 > URL: https://issues.apache.org/jira/browse/BOOKKEEPER-1051 > Project: Bookkeeper > Issue Type: Improvement > Reporter: Matteo Merli > Assignee: Matteo Merli > Priority: Minor > Fix For: 4.5.0 > > > Several unit tests are taking very long time to complete (eg: > {{BookieLedgerIndexTest}} taking ~10 minutes). > The reason is that these tests are playing with the ZK quorum shutting it > down and after the test succeeds, the shutdown phase is taking long time, > since we try to do graceful shutdown with 1min wait time. > I think is better to interrupt immediately the garbage collector thread when > shutting down the bookie. -- This message was sent by Atlassian JIRA (v6.3.15#6346)