Make MessageCache handle lock timeouts better
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 20 Apr 2016 19:37:00 +0000 (12:37 -0700)
committerOri.livneh <ori@wikimedia.org>
Thu, 21 Apr 2016 13:18:29 +0000 (13:18 +0000)
commit2cafd151de7439170550dc0604c7776f5279468a
treeaf20203a64bd6fc077f33d5e30bd60b70340a180
parent8b06607726703486befe23826d908b4b59ed8bdc
Make MessageCache handle lock timeouts better

* Timeouts happen when memcached is cleared or on DC-switchover likewise
* Disable the sidebar cache when the MessageCache is disabled
* Also lower any output expiry for CDN and set a custom header
  when the MessageCache is disabled
* Log when this happens to a dedicated "MessageCacheError" channel

Bug: T133069
Bug: T7092
Change-Id: I1b80e250532033c52680246279e1e8f56350ae83
includes/DefaultSettings.php
includes/MediaWiki.php
includes/cache/MessageCache.php
includes/skins/Skin.php