bookkeeper icon indicating copy to clipboard operation
bookkeeper copied to clipboard

Fix diskWeightBasedPlacement not work correctly in RegionAware

Open TakaHiR07 opened this issue 1 year ago • 0 comments

Motivation

Currently diskWeightBasedPlacement do not work correctly in RegionAware.

The root is RegionAware contain multiple RackAwarePolicies of each region. when we getBookieInfo by restApi successfully and then updateBookieInfo, we do not update the bookieInfo in each region. So the RackAwarePolicy of each region actually maintain the error bookieInfo, result in the wrong bookie selection probability.

Changes

updateBookieInfo for each region in RegionAwarePolicy.

TakaHiR07 avatar Dec 20 '23 08:12 TakaHiR07