Imported From: http://groups.google.com/group/in-portal-bugs/browse_thread/thread/d7c5cf6060fa4598#
We've implemented parallel cache rebuild protection in 5.2.0-B1 by setting
lock before creating new cache. This ensured that all other requests were
receiving old cache version or just waiting for a lock to be released.
...