daniel edited the task description. (Show Details)

EDIT DETAILS
...
`WikiPageEntityMetaDataLookup::loadRevisionInformation` already has a $mode parameter, which controls whether we first try the slave DB, or if we hit the master DB directly, see `EntityRevisionLookup::LATEST_FROM_SLAVE` and `EntityRevisionLookup::LATEST_FROM_MASTER`. `LATEST_FROM_SLAVE` is currently the default.

We should redefine `LATEST_FROM_SLAVE` to not fall back to the DB, and introduce a new mode `LATEST_FROM_SLAVE_OR_MASTER` to enable fallback. That mode would e.g. be used in jobs that handle change notifications on the client.

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

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

To: daniel
Cc: Zppix, Glaisher, MZMcBride, Nemo_bis, Gilles, aaron, Aklapper, gerritbot, PleaseStand, Krenair, Joe, aude, hoo, daniel, D3r1ck01, Izno, Wikidata-bugs, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to