wiki.techinc.nl/includes/Storage
Roan Kattouw a1e58d2455 Fix master/replica race condition when creating null revisions
RevisionStore::newFromNullRevision() carefully reads the latest revision
from the master, but then forgets to instruct emulateMainSlot_1_29() to
do the same, so the lookup query for rev_text_id in the text table is
done against a replica.

This is not usually a problem for null revisions, but it is a problem
when editing a page and then immediately moving it: this causes a null
revision to be created based on a freshly created revision, which
doesn't yet exist on the replica.

Bug: T184670
Change-Id: Ied4db5ee770716ff3edb918d2be722934c79d0c7
2018-03-02 19:54:45 -08:00
..
BlobAccessException.php
BlobStore.php Make LocalFile check early if the revision store is available 2018-02-22 22:07:30 +00:00
BlobStoreFactory.php [MCR] Introduce BlobStoreFactory 2017-12-24 23:22:30 +00:00
IncompleteRevisionException.php
MutableRevisionRecord.php
MutableRevisionSlots.php
NameTableAccessException.php [MCR] NameTableStore 2018-03-02 19:48:15 +00:00
NameTableStore.php [MCR] NameTableStore 2018-03-02 19:48:15 +00:00
RevisionAccessException.php
RevisionArchiveRecord.php Handle failure to load content in Revision getSize, etc 2018-01-11 15:23:03 +01:00
RevisionFactory.php
RevisionLookup.php Revert "Revert "[MCR] Add and use $title param to RevisionStoregetPrevious/Next"" 2018-01-10 17:05:53 +00:00
RevisionRecord.php Introduce hasSlot in RevisionRecord and RevisionSlots. 2018-02-26 17:34:48 +00:00
RevisionSlots.php Introduce hasSlot in RevisionRecord and RevisionSlots. 2018-02-26 17:34:48 +00:00
RevisionStore.php Fix master/replica race condition when creating null revisions 2018-03-02 19:54:45 -08:00
RevisionStoreRecord.php Handle failure to load content in Revision getSize, etc 2018-01-11 15:23:03 +01:00
SlotRecord.php
SqlBlobStore.php Make LocalFile check early if the revision store is available 2018-02-22 22:07:30 +00:00
SuppressedDataException.php