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 21:07:04 UTC

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

     [ https://issues.apache.org/jira/browse/BOOKKEEPER-1051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matteo Merli resolved BOOKKEEPER-1051.
--------------------------------------
    Resolution: Fixed

Issue resolved by merging pull request 141
            [https://github.com/apache/bookkeeper/pull/141]

            {noformat}
            commit 1a2e017b65812e6e50975213a365aa37eba9fa96
Author:     Matteo Merli <mm...@apache.org>
AuthorDate: Tue May 9 14:06:02 2017 -0700
Commit:     Matteo Merli <mm...@apache.org>
CommitDate: Tue May 9 14:06:02 2017 -0700

    BOOKKEEPER-1051: Fast shutdown for GarbageCollectorThread
    
    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.
    
    Author: Matteo Merli <mm...@apache.org>
    
    Reviewers: Enrico Olivelli <None>
    
    Closes #141 from merlimat/fast-gc-thread-shutdown

            {noformat}
            

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