commit | 534366536ea8180b405ad430604389a8948cf42f | [log] [tgz] |
---|---|---|
author | Ivan Kelly <ivank@apache.org> | Wed Jan 16 16:26:44 2019 -0800 |
committer | Sijie Guo <guosijie@gmail.com> | Thu Jan 17 08:26:44 2019 +0800 |
tree | ca6b9a04ea6ce5361e96a70edb9e5f17d86e95f3 | |
parent | 55c6a66bf06b1b29cb9e76c82d150d0f0412422f [diff] |
Binary metadata format This patch adds a binary metadata format and bumps the metadata format version to 3. The contents of the binary metadata is the same as the contents of the text format for now. The difference is that the binary is more compact, and the fields can be added to the metadata when using the binary format, which isn't possible with the text format. With the text format, parsing with a client that didn't recognise the new field would fail. For now, the text format (version 2) is still used by default. We will provide a tool to allow administrators to bump to version 3. Some tests have been modified to provide digest and password to the builder. All protobuf metadata in released versions has had digest and password (first protobuf metadata was in release-4.2.0). So if new metadata is created or read with version 2, it will have this two fields set. Master issue: #723 Reviewers: Enrico Olivelli <eolivelli@gmail.com>, Matteo Merli <mmerli@apache.org>, Sijie Guo <sijie@apache.org> This closes #1866 from ivankelly/binary-metadata
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.