* (bug 11533) Fixed insane slowdown when in read-only mode for long periods
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 30 Oct 2008 01:12:56 +0000 (01:12 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 30 Oct 2008 01:12:56 +0000 (01:12 +0000)
commit2ca5d29744fcf0efa46f037e6e9a457b5af0039b
tree9be22f449ba0f7c94a79518aa8ee74cb325d02a2
parent072649ebe81709edabde84ade1c98a0222959c6e
* (bug 11533) Fixed insane slowdown when in read-only mode for long periods
  of time with CACHE_NONE (default objectcache table configuration).

MediaWikiBagOStuff was refusing to perform any cache updates when in read-only
mode. This made sense originally when read-only mode was an extreme hardcore
"nothing can write to the DB EVAR because we're doing weird things to it",
but today we do allow backend writes of various sorts, and it's mainly meant
to stop user-level activity.

The refusal to perform updates caused the MessageCache to spend a long period
of time retrying the storage of the cache if it had expired out of the table previously... which is kind of bad as every page load would be insanely slow. :D
RELEASE-NOTES
includes/BagOStuff.php