Removed "page-lastedit" cache key trick from WikiPage
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 30 Mar 2015 21:44:50 +0000 (14:44 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 7 Apr 2015 07:22:32 +0000 (07:22 +0000)
commita9aadaff39bd7d5684b05d829382300572ffee52
tree6949841ace08b0abcffa4e50bc55ab7b573702c8
parent17242944365d63063b41386c2b2dcc0bef406d7d
Removed "page-lastedit" cache key trick from WikiPage

* Just rely on chronology protected and edit conflict handling.
  The time a user spends looking at and editing pages is larger
  than any normal slave lag anyway.
* However make sure that pages just made in the request are visible.
* In "master" datacenters, the slave lag will low anyway, and
  callers make use of $flags when needed. In other datacenters,
  the cache will itself be subject to lag anyway.
* Logging (DBPerformance log) shows this case is very rarely
  hit anyway.

Change-Id: If34d67c02f9a7bf0a506ee8f3990697eb403a710
includes/page/WikiPage.php