Bookie Quarantine Ratio Logic Question
Open
- 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
Assessment
This issue has not been assessed yet.