Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pool: Fix pool selection bugs in migration module
There were two bugs in migration module: - Random pool selection would select pools even when they are full. - Proportional pool selection would trigger a NPE as it would return null when all pools are full. Target: trunk Request: 2.10 Request: 2.9 Request: 2.8 Request: 2.7 Request: 2.6 Require-notes: yes Require-book: no Acked-by: Paul Millar <paul.millar@desy.de> Patch: https://rb.dcache.org/r/7362/ (cherry picked from commit 55de0de) Conflicts: modules/dcache/src/main/java/org/dcache/pool/migration/Task.java (cherry picked from commit d85629d)
- Loading branch information
Showing
3 changed files
with
29 additions
and
4 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