commit | ae023fd5fab1f015229e475de106df46144bd4d0 | [log] [tgz] |
---|---|---|
author | Kevin Wilson <klwilson227@comcast.net> | Mon Apr 05 22:02:43 2021 -0600 |
committer | GitHub <noreply@github.com> | Tue Apr 06 12:02:43 2021 +0800 |
tree | b40bbe6a2d08da95fe374463fbfec7e1a00a1832 | |
parent | 6eadbaac1806cebcf658a740b6dd7277a24e4fdb [diff] |
Issue 2638: Compaction Limits (#2670) This resolves issue 2638, by allowing a customer to set a limit on the duration of the major and minor compaction runs. This allows the customer to balance the needs for compaction against the need for normal garbage collection. Unbounded execution of compaction can starve the garbage collection process, and may lead to extended periods of high disk IO. By setting a upper bound on the execution duration for the garbage collection, we can ensure a balance is maintained between both GC and Compaction processes. Logging has been improved to allow a user to see the complete usage of the buckets, vs. those that were compacted, so that they can decide on any further tuning that may be required. Test cases have been added to ensure limits are enforced properly and that defaulting of the values is correctly implemented. * 2638-CompactionLimits * align config parameters * Refactor Limit to MaxTimeMs
Apache BookKeeper is a scalable, fault tolerant and low latency storage service optimized for append-only workloads.
It is suitable for being used in following scenarios:
Please visit the Documentation from the project website for more information.
For filing bugs, suggesting improvements, or requesting new features, help us out by opening a Github issue or opening an Apache jira.
Subscribe or mail the user@bookkeeper.apache.org list - Ask questions, find answers, and also help other users.
Subscribe or mail the dev@bookkeeper.apache.org list - Join development discussions, propose new ideas and connect with contributors.
Join us on Slack - This is the most immediate way to connect with Apache BookKeeper committers and contributors.
We feel that a welcoming open community is important and welcome contributions.
See Developer Setup to get your local environment setup.
Take a look at our open issues: JIRA Issues Github Issues.
Review our coding style and follow our pull requests to learn about our conventions.
Make your changes according to our contribution guide.