[ https://issues.apache.org/jira/browse/BOOKKEEPER-1004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sijie Guo resolved BOOKKEEPER-1004. ----------------------------------- Resolution: Fixed Fix Version/s: 4.5.0 Issue resolved by merging pull request 109 [https://github.com/apache/bookkeeper/pull/109] {noformat} commit 825e0e7b4a27730d85afbe823a405ba333de3a65 Author: Govind Menon <govindappume...@gmail.com> AuthorDate: Tue Mar 28 13:39:22 2017 -0700 Commit: Sijie Guo <si...@apache.org> CommitDate: Tue Mar 28 13:39:22 2017 -0700 BOOKKEEPER-1004: Allow bookie garbage collection to be triggered manu… Ran CompactionTest#testForceGarbageCollection Author: Govind Menon <govindappume...@gmail.com> Reviewers: Enrico Olivelli <eolive...@gmail.com> Closes #109 from govind-menon/BOOKKEEPER-1004 {noformat} > 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 > Fix For: 4.5.0 > > 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 work was originally done by Ivan Kelly and I am just pushing it back to > open source -- This message was sent by Atlassian JIRA (v6.3.15#6346)