Skip to content

Conversation

@elboulangero
Copy link
Contributor

With this setting, files are allowed to be outdated on the mirrors, for at most MaxOutdated minutes. The filesize check is also disabled for those files.

Use-case: for a Debian-like distribution, the metadata (ie. the directory /dists) are updated in-place, so we must give time for mirrors to sync, and then for mirrorbits to be aware of the changes.

Otherwise, as soon as the source is updated and scanned, Mirrorbits will go in fallback mode for all the files under /dists, since at this point, either mirrors didn't sync yet, either they did but Mirrorbits is not aware of it yet (as the interval to scan mirrors is higher than the interval to scan the source).

Cf. #85 for more details.

With this setting, files are allowed to be outdated on the mirrors, for
at most MaxOutdated minutes. The filesize check is also disabled for
those files.

Use-case: for a Debian-like distribution, the metadata (ie.  the
directory /dists) are updated in-place, so we must give time for mirrors
to sync, and then for mirrorbits to be aware of the changes.

Otherwise, as soon as the source is updated and scanned, Mirrorbits will
go in fallback mode for all the files under /dists, since at this point,
either mirrors didn't sync yet, either they did but Mirrorbits is not
aware of it yet (as the interval to scan mirrors is higher than the
interval to scan the source).

Cf. etix#85 for more details.
@elboulangero elboulangero changed the title Add RelaxModTimeRules config option Draft: Add RelaxModTimeRules config option Oct 30, 2023
@elboulangero
Copy link
Contributor Author

I mark it as draft, it would be nice to get feedback from other mirrorbits users, that use mirrorbits to mirror a Linux distro, to understand better if they face a similar issue, and if this PR can help them solve it.

@jbkempf
Copy link
Collaborator

jbkempf commented Apr 8, 2024

Still a draft, noone commented :(

@elboulangero
Copy link
Contributor Author

Actually discussion happened at #85. But I just noticed that I didn't have time to follow up...

In any case: still a draft

This was referenced Feb 12, 2025
@elboulangero
Copy link
Contributor Author

Closing in favor of rework: #188

@elboulangero elboulangero deleted the github/relax-mod-time branch April 2, 2025 16:30
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.

2 participants