Skip to content

Commit

Permalink
poolmanager: Fix incorrect correction of pool cost
Browse files Browse the repository at this point in the history
Motivation:

Pool manager anticipates changes in pool load by adjusting cost estimates after
pool selection.

Modification:

For read pool selection the cost adjustment was applied twice. Now it is only
applied once.

Result:

Fixed a bug in pool manager affecting pool cost estimates.

Target: trunk
Require-notes: yes
Require-book: no
Request: 2.16
Request: 2.15
Request: 2.14
Request: 2.13
Acked-by: Paul Millar <paul.millar@desy.de>

Reviewed at https://rb.dcache.org/r/9570/

(cherry picked from commit 7bcf592)
  • Loading branch information
gbehrmann committed Aug 3, 2016
1 parent 13bd117 commit f0d2757
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -1034,7 +1034,6 @@ private boolean answerRequest(int count) {
}
m.revertDirection();
sendMessage(m);
_poolMonitor.messageToCostModule(m);
if (!rpm.getSkipCostUpdate()) {
_poolMonitor.messageToCostModule(m);
}
Expand Down

0 comments on commit f0d2757

Please sign in to comment.