You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Govind Menon (JIRA)" <ji...@apache.org> on 2017/02/13 23:18:41 UTC

[jira] [Updated] (BOOKKEEPER-1004) Allow bookie garbage collection to be triggered manually from tests

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

Govind Menon updated BOOKKEEPER-1004:
-------------------------------------
    Description: 
The current gc tests rely on waiting on a timeout for gc to run. It's
never certain whether it has run or not or if it's still running. 

This patch allows tests to trigger a gc run and gives the client
a future to know when it has completed. The gc algorithm is unchangedI but now it runs in a scheduled executor rather than as a
Thread.


> Allow bookie garbage collection to be triggered manually from tests
> -------------------------------------------------------------------
>
>                 Key: BOOKKEEPER-1004
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-1004
>             Project: Bookkeeper
>          Issue Type: Improvement
>          Components: bookkeeper-server
>    Affects Versions: 4.5.0, 4.6.0
>            Reporter: Govind Menon
>            Priority: Minor
>              Labels: test
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The current gc tests rely on waiting on a timeout for gc to run. It's
> never certain whether it has run or not or if it's still running. 
> This patch allows tests to trigger a gc run and gives the client
> a future to know when it has completed. The gc algorithm is unchangedI but now it runs in a scheduled executor rather than as a
> Thread.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)