Comment: | Quick hack to fix file redirect caching bug on file rename...
* renaming process creates redirect at old title
* creation of redirect clears negative file redirect entry from memcached, if already present
* Special:MovePage dumps out some text, which on en.wikipedia included a link to the old title
* said link triggered a check if the old title was a redirect
* no cache entry, so it checks the database slave's redirect table
* OOPS you just read from a lagged slave, and saved the bad info back into cache
Temp workaround: clear the cache again at the end of the move process, after we've output the text.
This is still inherently fragile and the caching should be redone. |