-
Notifications
You must be signed in to change notification settings - Fork 49
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
Provide option to make a mirror globally available #194
Comments
This option should be admin only. |
There is already support in the mirrorlist server to extent the result with mirrors from the global list if less than 3 mirrors are returned. I will increase this from 3 to 5 and make it configurable from the command-line if it needs to be changed in the future. |
PR #199 offers a work around. An option to add certain mirrors to all mirrorlist/metalink results would still be helpful. This requires changes in the web-frontend, pkl creation and mirrorlist. |
In the past we've used a low bandwidth value, combined with the 'always_up2date' flag on the mirror category, to make sure the Fedora-owned public-facing servers appeared at the end of the mirrorlist as a mirror of last resort. |
@mdomsch are you sure? The mirrorlist_server.py code has not change much since you wrote it and I have not found the place where 'always_up2date' mirrors are added to the mirrorlist. The master mirror is still marked as 'always_up2date' but I only see it on 'country=global' and 'country=us' mirrorlists. |
always_up2date flag is handled in the pickle creation queries.
…On Wed, Feb 1, 2017 at 11:33 AM, Adrian Reber ***@***.***> wrote:
@mdomsch <https://github.com/mdomsch> are you sure? The
mirrorlist_server.py code has not change much since you wrote it and I have
not found the place where 'always_up2date' mirrors are added to the
mirrorlist.
The master mirror is still marked as 'always_up2date' but I only see it on
'country=global' and 'country=us' mirrorlists.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#194 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAqDqnPgVf-yDCHQYySDgTrufr9h-xXmks5rYMICgaJpZM4KaJnX>
.
|
Thanks. I see it in the old and in the new code but the new code does not include it in the results. RPM Fusion uses the old backend code (for pkl generation) and the new mirrorlist servers but the always_up2date flag is not used. I could test it there to see how it works. Anyway, good to know that this is an additional meaning of the 'always_up2date' flag. |
A new option to mark a mirror globally available would help in cases where not many mirrors are available like: https://pagure.io/fedora-infrastructure/issue/5528
If the master mirror would be marked as 'global' with a low priority there would always be a least one mirror which is up to date. Having a low priority local mirrors would be used before contacting the master mirror. Also, in case of important updates at least one mirror with the correct repomd.xml checksum would be available.
This could also help to use mirrors which are based on anycast as we currently have no way to use anycast mirrors with our crawler/continent/country setup.
The text was updated successfully, but these errors were encountered: