-
Notifications
You must be signed in to change notification settings - Fork 964
Open
Description
bookkeeper/bookkeeper-server/src/main/java/org/apache/bookkeeper/client/BookKeeper.java
Line 641 in 3c80cef
| if (Math.random() <= bookieQuarantineRatio) { |
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.
Metadata
Metadata
Assignees
Labels
No labels