apple / apple/foundationdb

Exclude could bring down whole cluster

Open
#12,167 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
16.7k
Forks
1.6k
Avg merge
1d 20h
Merged PRs (30d)
126

Description

In some scenarios when using a small cluster and the processes have a suboptimal layout doing an exclude can bring down the whole cluster (e.g. when the cluster has not enough log processes to be recruited). The only way out of this is to add additional resources as the include command will not work. It would be great to 1. make sure that the include command can be used in such scenarios and 2. if the exclude command could check if enough processes are available to recruit the transaction system before doing the exclusion.

Contributor guide

Open the contributing guide

Research direction

Start by locating the include and exclude command handling and the transaction-system recruitment checks; reproduce the small-cluster scenario described in the issue. Done means include remains usable after a risky exclusion and exclude refuses to proceed when too few processes are available.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.