apache / apache/bookkeeper

Disaster recovery in case of data lost

Open
#3,583 2 comments 0 reactions 0 assignees View on GitHub
type/feature
Dominant language
Java
Stars
2k
Forks
976
Avg merge
6d 15h
Merged PRs (30d)
7

Description

**FEATURE REQUEST**

Sometimes, we lost all data of a bookie (it's ledgers, cookies and others). The problem here is that if a ledger of that bookie can not be recover due to any reason. The `shell decommission` command will stuck in waiting for these ledger to be replicated but of course it will never happen.

In reality we have some data that is defined not important and we are willing to lost it to optimize for performance, so we configure the quorum to only 1.

Currently, there are no way for us to remove the dead bookie as the `shell decommission` will be stuck in waiting for dead ledger to be replicated. The only workaround solution for us is to separate the non-important cluster and re-init the whole cluster every time the disaster happen.

**EXPECTATION**
A `shell decommission -force` option which will force remove the dead bookie and fill empty (or some dummy data) to dead ledgers.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.