bookkeeper icon indicating copy to clipboard operation
bookkeeper copied to clipboard

Bookie Quarantine Ratio Logic Question

Open fxbing opened this issue 2 months ago • 0 comments

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.

fxbing avatar Oct 28 '25 08:10 fxbing