Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crush: add root_bucket to identify underfull buckets
All underfull buckets under root_buckets will be taken as target For the crule rule: step take datacenter0 step chooseleaf firstn 2 type host step emit step take datacenter1 step chooseleaf firstn 2 type host step emit If one host contains overfull osd but no underfull osd, it will use other underfull buckets as target, which maybe not in the same datacenter, that will broke the rule. Fixes: http://tracker.ceph.com/issues/38826 Signed-off-by: huangjun <huangjun@xsky.com> (cherry picked from commit 3d5678d)
- Loading branch information
1 parent
520f7c0
commit 5c173a0
Showing
2 changed files
with
13 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters