We should retry connecting to the artifact server when the initial handshake fails
Updated title.
Essentially this issue is about retrying to connect to the artifact server even if we failed to connect the first time.
Summary
I think this is better to:
- avoid losing the artifacts from the cache server if there is a temporal hiccup in the cache server when bst is initializing
- Do not saturate the cache server as the request are done in a distributed way, not only in the bst initilization
What is the current bug behavior?
Seems the current steps are:
- Track -> Pull (From Cache) -> Fetch (Sources) -> Build (Elements) -> Push (To Cache)
What is the expected correct behavior?
I think it should:
- Track -> Fetch (Sources) -> for each element[pull (from cache) -> Build (Element)->push(to cache)]
Edited by Tristan Van Berkom