commit | 768f6c881debbe19ba604b42caefe1566fdbdc65 | [log] [tgz] |
---|---|---|
author | lamber-ken <lamberken@apache.org> | Mon Jun 08 20:18:01 2020 +0800 |
committer | Enrico Olivelli <eolivelli@apache.org> | Mon Jun 08 14:18:17 2020 +0200 |
tree | d0ac4664f19bebf25c167131d49bc2cd336095e5 | |
parent | 93b4afa082bfd4af153b1a9f9dcfa938ce6f8bd8 [diff] |
[BUG] Fix avoid invoke init drivers repeatedly ### Motivation static code blocks are always invoked when the class is initialized, when client connect to bookkeeper server, output repeat init log ``` 2020-06-04 10:10:24,751 INFO org.apache.bookkeeper.meta.MetadataDrivers - BookKeeper metadata driver manager initialized 2020-06-04 10:10:24,753 INFO org.apache.bookkeeper.meta.MetadataDrivers - BookKeeper metadata driver manager initialized 2020-06-04 10:10:24,753 INFO org.apache.bookkeeper.meta.MetadataDrivers - BookKeeper metadata driver manager initialized ``` ### Changes Remove redundant initialization code. Reviewers: Jia Zhai <zhaijia@apache.org>, Matteo Minardi <minardi.matteo@hotmail.it>, Enrico Olivelli <eolivelli@gmail.com> This closes #2356 from lamber-ken/bk-init-repeat (cherry picked from commit 2a24be666a861b1f6eece25a9cde42459b5b32a2) Signed-off-by: Enrico Olivelli <eolivelli@apache.org>
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:
You can also read Turning Ledgers into Logs to learn how to turn ledgers into continuous log streams. If you are looking for a high level log stream API, you can checkout DistributedLog.
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.