fedora-infra / mirrormanager2

Rewrite of the MirrorManager application in Flask and SQLAlchemy
https://mirrormanager.fedoraproject.org
GNU General Public License v2.0
63 stars 46 forks source link

Disable report_mirror for public mirrors #281

Closed adrianreber closed 4 years ago

adrianreber commented 4 years ago

One of the limitations of the current report_mirror implementation is that it only transmits a list of directories to MirrorManager. That works most of the times, but a common error scenario we are seeing is that the crawler detects that a mirror is out of sync but report_mirror is still running. This leads to the situation that correctly deactivated mirrors by the crawler are enabled again. This is one of the most common problems we are seeing in Fedora with mirrors.

For private mirrors we still need report_mirror, but for public mirror this commit turns the report_mirror interface off.