-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upon device allocation DiskRegistry should prefer agents and racks wi…
…th the least amount of occupied space and only after that should take free space into account [NBS] При аллокации места в DiskRegistry предпочитать стойки и ноды с меньшим кол-вом занятого места Сейчас выбираем стойки и ноды с наибольшим кол-вом свободного. Это плохо работает в ситуации, когда у нас неравномерная капасити по разным нодам - есть ноды с 3ТБ места, есть с 12ТБ. В итоге мы битком забиваем ноды с 12ТБ и на них льется непропорционально бОльшая нагрузка. Сначала надо выбирать по min occupied space, потом по max free space.
- Loading branch information
Showing
4 changed files
with
173 additions
and
50 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
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
Oops, something went wrong.