You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Matteo Merli (JIRA)" <ji...@apache.org> on 2017/05/09 18:00:05 UTC

[jira] [Created] (BOOKKEEPER-1051) Fast shutdown for GarbageCollectorThread

Matteo Merli created BOOKKEEPER-1051:
----------------------------------------

             Summary: 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)