hoo created this task.
hoo added projects: MediaWiki-extensions-WikibaseRepository, Wikidata.
Herald added a subscriber: Aklapper.

TASK DESCRIPTION

As repeatedly requested, Wikibase should only connect to the dump database group in the (long running) dump scripts (repo/maintenance/dumpEntities.php, repo/maintenance/dumpJson.php and repo/maintenance/dumpRdf.php).

We have a few options to implement this:

  1. Try to pass the db group (as string) to all classes that get database connections?
  2. Create an own (static?) wrapper which we can use instead of wfGetDB (and wfGetLB/ the analog function on MediaWikiServices?)?
  3. Propose a core patch to be able to change the default for $groups in LoadBalancer::getConnection.

I'm not sure about this… all options seem kind of dirty in their own way, except maybe the third, if properly thought through.


TASK DETAIL
https://phabricator.wikimedia.org/T147169

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: hoo
Cc: Aklapper, Smalyshev, Lydia_Pintscher, jcrespo, aude, daniel, hoo, D3r1ck01, Izno, Wikidata-bugs, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to