Force LocalFile::purgeMetadataCache use the master DB
authorGergő Tisza <tgr.huwiki@gmail.com>
Wed, 18 Mar 2015 17:56:11 +0000 (17:56 +0000)
committerGergő Tisza <tgr.huwiki@gmail.com>
Wed, 18 Mar 2015 17:56:11 +0000 (17:56 +0000)
commit00e925fe9200ae0808a240a567afc43bf3a456d5
tree6e6288376422abff5d9e0686ecf56eabc3893db3
parent5205405385397782b5288b429f49c9d8c97ac6c6
Force LocalFile::purgeMetadataCache use the master DB

This used to happen automatically via markVolatile() but that was
removed in I808c3a6, which caused cache updates after move/delete
to retain outdated information from slaves.

Bug: T93009
Bug: T88506
Change-Id: Ie4a6c5fbecec9b38ad3ff45fbc22c5d74d66601c
includes/filerepo/file/LocalFile.php