summaryrefslogtreecommitdiffstats
path: root/src/db
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@atos.net>2021-02-16 07:36:01 +0100
committerMatthias Beyer <matthias.beyer@atos.net>2021-02-16 08:00:30 +0100
commit09f5560442b13f8bf58152b36d8819ec309363fc (patch)
treefb8cea73aba9d17a0b7165e0a1e751c769cc325b /src/db
parent48317703c85ed55c4757aa6a966b7c5f5cdd1d14 (diff)
Rewrite artifact searching in replacement algorithm
This patch rewrites the replacement searching algorithm, to try the staging store first and then the release store. It does so by sorting the artifacts by whether they are in the staging store or not (hence the FullArtifactPath::is_in_staging_store() function). It filters out not-found artifacts and returns only ones that were found in either store. Signed-off-by: Matthias Beyer <matthias.beyer@atos.net> Tested-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/db')
0 files changed, 0 insertions, 0 deletions