Page MenuHomePhabricator
Paste P70944

Testing Dumps 1.0 for resiliency to database migration
ActivePublic

Authored by EBernhardson on Nov 5 2024, 5:15 PM.
Tags
None
Referenced Files
F57684084: Testing Dumps 1.0 for resiliency to database migration
Nov 5 2024, 8:01 PM
F57683736: Testing Dumps 1.0 for resiliency to database migration
Nov 5 2024, 5:19 PM
F57683734: raw-paste-data.txt
Nov 5 2024, 5:15 PM
Subscribers
None
# Context: https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1085634 is meant to make dumps more robust to content addresses changing in between its stub phase and its second pass. The following are tests run to confirm the patch works:
sudo -u dumpsgen /usr/bin/php7.4 \
/srv/mediawiki/multiversion/MWScript.php \
dumpBackup.php \
--wiki=enwikibooks \
--current \
--stub \
--report 1000 \
--output gzip:/mnt/dumpsdata/xmldatadumps/temp/e/ebernhardson-test/enwikibooks-20251105-stub-current.xml.gz
sudo -u dumpsgen /usr/bin/php7.4 \
/srv/mediawiki/multiversion/MWScript.php \
dumpTextPass.php \
--wiki=enwikibooks \
--stub=gzip:/mnt/dumpsdata/xmldatadumps/temp/e/ebernhardson-test/enwikibooks-20251105-stub-current.xml.gz \
--dbgroupdefault=dump \
--report=1000 \
--spawn=/usr/bin/php7.4 \
--output=bzip2:/dev/null \
--full | tee enwikibooks.log

Event Timeline

Milimetric changed the title of this paste from untitled to Testing Dumps 1.0 for resiliency to database migration.Nov 5 2024, 5:19 PM
Milimetric edited the content of this paste. (Show Details)