-
Notifications
You must be signed in to change notification settings - Fork 52
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
Let irrd_load_database do more work #233
Comments
I'm curious about your usecase. This is basically something the force_reload flag already does. We can add a command to set that flag for a source? The load_database command was intended for script-generated databases, i.e. those that update relatively rarely, and need stricter validation than regular mirrors. I think it would also refuse to import RIPE, because of unknown object classes. The load_database command is quite strict, as for errors the assumption is "the script generating that file made a mistake" vs "do a best effort import of valid data" for regular mirrors. |
Yes, i guess my request is to add a CLI command to set the |
The behaviour of the new command is now documented in: https://irrd4.readthedocs.io/en/latest/users/mirroring.html#nrtm-mode Progress bars are difficult - the actual reload happens asynchronously. The command just flips the flag in the DB, the next run of the importer for that source reads it and acts on it. |
this works as advertised! |
Is your feature request related to a problem? Please describe.
Right now I have to provide a gunzipped dump and serial to the
irrd_load_database
tool, but the tool could also download the dump & serial based on the URL known in the yml config.Describe the solution you'd like
Describe alternatives you've considered
Flipping a flag in the database?
The text was updated successfully, but these errors were encountered: