commit | c1673bfc140b2a3c2636cfae91c26869e6cf9502 | [log] [tgz] |
---|---|---|
author | karanmehta93 <k.mehta@salesforce.com> | Sun Nov 01 23:23:22 2020 -0800 |
committer | GitHub <noreply@github.com> | Mon Nov 02 08:23:22 2020 +0100 |
tree | a381d8d1adfe11df16d7d370c376b1294238a365 | |
parent | 4d4465031012a126afcc78dcd3041829fee173d9 [diff] |
Autorecovery may hang indefinitely when zookeeper connection blips Descriptions of the changes in this PR: ### Motivation In certain circumstances, all AR processes were running but not performing any replication. Thus ledgers remain under-replicated for periods more than the threshold defined by our monitoring system. The reason is that the latch here gets countdown only under certain condition. ### Changes Ensure that countdown latch is released for any ZK event. Also log the zk event. Master Issue: #2302 Reviewers: Enrico Olivelli <eolivelli@apache.org>, Anup Ghatage <gathage@apache.org> This closes #2471 from karanmehta93/ar-zk-bug
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.