Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The storage daemon asks the director for the next volume to use but it can happen that this volume is already loaded but due to restrictions in the storage daemon config the job cannot reserve the volume for append. In the previous code this would lead to the storage daemon asking for a new volume and getting exactly the same as the director has no knowledge of the reservation limitiations but then the Storage daemon would give up as it already knows that the volume cannot be used. This patch adds some stop-gap logic in which we let the director know what volumes we already tried and which we don't want to get in return for the next available volume. The real problem is that the reservation logic is split between DIR and SD without both having a full overview of reality so this is bound to fail. The only real solution is a redesign of the whole reservation logic from scratch without trying to work around the weird way things work now.
- Loading branch information
Marco van Wieringen
committed
Apr 30, 2015
1 parent
f9690a1
commit fa7a54a
Showing
10 changed files
with
252 additions
and
179 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
Oops, something went wrong.