Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
atc: refactor conn pools and algorithm
Refactored the creation of all the different GC components. Fixed a bug within the algorithm where if there are two inputs with the same resource id and version, it would overwrite the version candidate twice. This causes the restore to be set to the same value and not nil, so when it restores, it doesn't properly set the candidate to empty. Also it adds the feature of preferring outputs over inputs, where outputs are always ordered before inputs so we will set the candidate to the output version always (if they have the same resource id). Added to the algorithm so that pinned version not found errors are added to the next build inputs table so that it will appear in the preparation. [#3602] Signed-off-by: Clara Fu <cfu@pivotal.io>
- Loading branch information
Showing
10 changed files
with
403 additions
and
251 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
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.