GitHub user merlimat opened a pull request:
https://github.com/apache/bookkeeper/pull/141
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.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/merlimat/bookkeeper fast-gc-thread-shutdown
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/bookkeeper/pull/141.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #141
----
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---