commit | 5902ee27be2fb7eeade53f5e8e4afd3fe573ad5c | [log] [tgz] |
---|---|---|
author | Boyang Jerry Peng <jerry.boyang.peng@gmail.com> | Tue Mar 26 09:33:54 2019 -0500 |
committer | Ivan Kelly <ivank@apache.org> | Tue Mar 26 15:33:54 2019 +0100 |
tree | a0bef3ae8c4bdd3dc842cf50f25c1e01e8ff1e6c | |
parent | 6aa73ce050feb247f491a489a42f6e3db09961cf [diff] |
fix potential NPE when releasing entry that is null Descriptions of the changes in this PR: ### Motivation A interrupt exception can occur during the poll operation of the blocking and cause a NPE to be thrown ### Changes Check if entry is null before trying to release it Reviewers: Ivan Kelly <ivank@apache.org>, Sijie Guo <sijie@apache.org>, Matteo Merli <mmerli@apache.org> This closes #1998 from jerrypeng/fix_NPE
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.