Add parallel_fetch toggle for virtual member index files #165
Reference in New Issue
Block a user
Delete Branch "benvin/virtual-parallel-fetch"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Virtual members already merge concurrently, but each rpm member fetches primary/filelists/other one after another, and each deb member its Packages files the same way. On large virtuals the slowest member's serial chain pushes the merge past dnf's 30s timeout.
parallel_fetch(default false) to virtuals: model, v2 API, migration 0007errgroup.Grouphas no context, so after the first error the remaining files are still launched and in-flight fetches are not cancelled → useerrgroup.WithContextand skip/abort fetches once the group ctx is done.parallelreachingfetchDebMember/fetchRPMMemberorparallel_fetchround-tripping through the DB/v2 API (onlymergeRPMis checked) → add a deb flag-passthrough case or a database/API round-trip test.models.Virtual, so any client that omitsparallel_fetch(terraform-provider-artifactapi, anything built on pkg/client before this field) silently resets it to false on every update → add the field to the terraform provider in lockstep (or merge onto the existing row when the key is absent) before anyone enables it.overlapEngine— 50ms hold window decides whether peak reaches 3; can flake on a loaded CI runner → raise to ~1s (loop exits early once all are in flight, so no cost).No findings.