Comments (5)
It's basically trivial to have report_mirror send more information. But there's no point in sending it if mirrormanager isn't going to use it, and I don't know if the server side code ever existed, even before the rewrite. quick-fedora-mirror already has the file list handy and could easily collect any other information that mirrormanager might use, though mirrormanager doesn't currently accept checkins in a format that anything besides report_mirror can actually generate.
Edit:
Also, with a bit more work, quick-fedora-mirror can do enough verification on the mirrored content that it should be possible to actually trust it when it reports in. Since that would happen at the end of a mirror run and not as part of a separate run of report_mirror, an admin would have to actually work at making their mirror report incorrectly.
from mirrormanager2.
The main reason for not sending more data was to reduce the number of I/Os on the client side. We are also still transmitting the host config during each report_mirror run which is also not used besides storing it in the database.
As far as I know there was never code to handle additional information from report_mirror besides the directories. As stated above the goal was to get a status from an update as fast as possible without requiring too much I/O on the client (mirror server) side.
It should be possible to handle additional information transmitted from report_mirror, but it requires someone to write the xmlrpc side code.
from mirrormanager2.
I was wrong. The code to check what is inside a directory exists:
from mirrormanager2.
... and the function is not called from anywhere. So the code inside that function has not been used for many years if ever at all.
from mirrormanager2.
I can understand the will to reduce client side IO, but they're basically going to do it all anyway when they call rsync so at least the caches should be hot. And quick-fedora-mirror will also do pretty much the same directory traversals on the client as a plain rsync call would do, except that it can actually save off the data. And if the data is handy, sending it to mirrormanager should be a relatively low cost exercise.
Anyway, it's not a big deal, especially since there's no way currently for quick-fedora-mirror to actually check in with mirrormanager besides just calling report_mirror (and doing all of that IO again).
from mirrormanager2.
Related Issues (20)
- Instructions to try out mm2 don't work anymore HOT 3
- https://mirrors.centos.org/centos is offline HOT 1
- The master branch is updated without Pull Requests HOT 1
- Cannot start runserver in newly created vm HOT 6
- Dependency Dashboard
- Encountering PublishTimeout exceptions when adding a site and setting host information in MirrorManager2 on Fedora Workstation 38 HOT 3
- Link to https://admin.fedoraproject.org/mirrormanager/ HOT 3
- _Always up to date_ for private mirrors HOT 8
- Don't disable mirrors silently HOT 1
- Unable to enable mirror HOT 2
- Paginate the mirrors page
- are these valid fedora infra crawler IPs HOT 4
- Cannot enable mirror in MirrorManager HOT 3
- Unable to enable mirror
- unable to add new host on my site link HOT 2
- Add flask-healthz
- Add a Fedora Messaging schema HOT 1
- Make dates in the web interface a little more readable
- The interactive map is broken
- new site with rsync only targets cannnot be added to the mirror network HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mirrormanager2.