-
Notifications
You must be signed in to change notification settings - Fork 0
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
XML backups get stuck #168
Comments
If we don't need the XML backups I suggest we deactivate them permanently. |
I would first try to exclude items and properties as well and test again. |
That is what I have done. Even trying with much more restrictive filters such as --filter=namespace:0 which should only include the main namespace, gets stuck. |
@eloiferrer did you see the following
for ns:0? |
Yes. For ns:0 and also with any other configuration I've tried. The script seems to get stuck from the very beginning, no matter the options. It seems that the script goes through all the pages anyway, and gives some output as these get processed. |
I would like to understand why this is the case. There should be less than 1000 pages in ns:0. So it should finish in one hour or less. |
I found my own docu on https://www.mediawiki.org/wiki/Manual:DumpBackup.php :-) and I think filter should go to the query but plugin would still process every page. |
@eloiferrer you are right. The namespace filter is not in the query. https://gerrit.wikimedia.org/r/c/mediawiki/core/+/504792 while I share the view of @brightbyte. Espcially with our memory limit for the single database setup, it will be impossible to run this daily. One option to get around would be to rewrite the query via the hook. |
Describe the bug
The XML backup script just gets stuck or takes forever to finish with no apparent output. Filtering for namespaces does not help.
For instance:
just hangs there, showing now output. Only after waiting several minutes it shows the process output for 1000 pages and an estimated finishing time > 1 month. Then it hangs again.
Expected behavior
(A clear and concise description of what you expected to happen.)
To Reproduce
Steps to reproduce the behavior:
Screenshots
(If applicable, add screenshots to help explain your problem.)
Additional context
Add any other context about the problem here.
Checklist for this issue:
(Some checks for making sure this issue is completely formulated)
The text was updated successfully, but these errors were encountered: