wiki.techinc.nl/includes/cache
Martin Urbanec b406c52adb LinkCache: Try invalidating cache before throwing
The code that was previously in LinkCache::getGoodLinkRow
may return a cached row object (either from the in-process
cache, or memcached). In some cases, this caused
LinkCache::addGoodLinkObjFromRow to throw, because a field
was missing (although the field is missing only from
the cached copy, not from the database).

To avoid this, try to invalidate the cache
in LinkCache::getGoodLinkRow and retry, before
letting the exception propagate.

Bug: T205349
Change-Id: Ie9e90bf32964047c1831f575cc260d7d62e9e848
2021-11-02 13:10:45 +00:00
..
dependency
Hook Remove documentation that literally repeats the code 2020-10-27 19:20:26 +00:00
localisation docs: Fix nullable documentation for class properties 2021-09-24 00:54:53 +00:00
BacklinkCache.php Update callers of deprecated BacklinkCache methods 2021-09-29 18:56:17 +00:00
BacklinkCacheFactory.php Add BacklinkCacheFactory Service 2021-09-09 09:58:52 +01:00
CacheKeyHelper.php Using @return never documentation on always-throw-function 2021-09-07 17:29:03 +02:00
FileCacheBase.php Improve class property documentation 2020-10-30 10:38:58 +01:00
GenderCache.php GenderCache: remove checking for valid usernames 2021-05-12 06:37:38 +00:00
HtmlCacheUpdater.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
HTMLFileCache.php HTMLFileCache: replace Title in method signatures 2021-04-14 18:49:45 +02:00
LinkBatch.php LinkBatch: skip bad input 2021-05-07 16:22:24 +02:00
LinkBatchFactory.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
LinkCache.php LinkCache: Try invalidating cache before throwing 2021-11-02 13:10:45 +00:00
MessageCache.php s/necesssary/necessary/ 2021-10-06 01:08:37 +01:00
ResourceFileCache.php
UserCache.php Convert UserCache to a service 2020-10-20 20:13:38 +00:00