Defer the redirect table update in WikiPage::insertRedirect()
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 26 Nov 2015 23:17:26 +0000 (15:17 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 2 Dec 2015 22:53:07 +0000 (22:53 +0000)
commit325faeea8385e65f395709622da79ade1ed68ff7
treea16b129cd64bf4de6ca290995e857bc5d21599d4
parent60c5b85d8c4b1be2704347bd6af30e1615e95990
Defer the redirect table update in WikiPage::insertRedirect()

This avoids contention slams and synchronous master DB writes
on HTTP GET requests.

Bug: T119742
Bug: T92357
Change-Id: I7b3ebac0d6a11542c47ddf3219911be54380c537
includes/page/WikiPage.php