Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track searchapi_host and data node prioritization #173

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

painter1
Copy link
Contributor

Often the user will specify the index node as searchapi_host in a selection file.
As Synda runs, a failure downloading a file may lead to a new search and a retry at whatever url the search discovered.
The new search should use the index node specified in the selection file. These changes keep track of searchapi_host by including it in the appropriate file and transfer objects.

That change overlaps with an improvement in the prioritization of data nodes in sdnexturl.py. So this improvement is also included in this branch and pull request.

…th each

file and transfer object so that it will be available in case our file transfer
fails and we have to search for another url to fall back to.
…tting

all_urlps leads us to including the new algorithm for prioritizing data nodes.
This is set elsewhere before it is first referenced, so this change is
a matter of style - a class variable is more visible if set in the class.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant