hoo added a comment.
Apparently this is related to the `--dbgroupdefault` (doesn't seem to depend
on the value):
dumpsgen@deployment-snapshot01:~$ /usr/bin/php7.2
/srv/mediawiki/multiversion/MWScript.php eval.php --wiki wikidatawiki
--dbgroupdefault dump
> echo get_class(wfGetDB( DB_REPLICA ));
Caught exception Wikimedia\Rdbms\DBConnectionError: Cannot access the
database: No working replica DB server: Unknown error
…
dumpsgen@deployment-snapshot01:~$ /usr/bin/php7.2
/srv/mediawiki/multiversion/MWScript.php eval.php --wiki wikidatawiki
> echo get_class(wfGetDB( DB_REPLICA ));
Wikimedia\Rdbms\DatabaseMysqli
This is also going to always hit the Wikibase dumpers as they set the
dbgroupdefault even if not given via CLI.
TASK DETAIL
https://phabricator.wikimedia.org/T221917
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: hoo
Cc: hoo, ArielGlenn, WMDE-leszek, Poyekhali, Steinsplitter, Aklapper,
Lydia_Pintscher, Bugreporter, Tgr, Ramsey-WMF, Jarekt, Addshore, Tpt, Salgo60,
Lucas_Werkmeister_WMDE, Smalyshev, Daryl-TTMG, RomaAmorRoma, 0010318400,
E.S.A-Sheild, darthmon_wmde, joker88john, CucyNoiD, Nandana, NebulousIris,
JKSTNK, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985,
Cpaulf30, Lahi, PDrouin-WMF, Gq86, Af420, E1presidente, Cparle, Darkminds3113,
Anooprao, SandraF_WMF, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Lunewa,
Th3d3v1ls, Ramalepe, Liugev6, QZanden, EBjune, Tramullas, Acer, merbst,
LawExplorer, WSH1906, Lewizho99, Maathavan, Silverfish, _jensen, rosalieper,
Taiwania_Justo, Jonas, Xmlizer, Susannaanas, Wong128hk, gnosygnu, Jane023,
jkroll, Wikidata-bugs, Jdouglas, Base, matthiasmullie, aude, Tobias1984,
El_Grafo, Dinoguy1000, Manybubbles, Ricordisamoa, Wesalius, Fabrice_Florin,
Raymond, Jdforrester-WMF, Mbch331, Keegan
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs