apache / apache/bookkeeper

Bookie Quarantine Ratio Logic Question

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

Description

https://github.com/apache/bookkeeper/blob/3c80cefa50173924453985d536f91fa845f4161b/bookkeeper-server/src/main/java/org/apache/bookkeeper/client/BookKeeper.java#L641

Use random numbers in the code to determine whether a bookie should be quarantined. If there are many failures, the number of bookies that will eventually be quarantined will be greater than the set ratio, which is not in line with expectations. You should use the number of bookies that have already been quarantined to judge, rather than a random number.

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.