Reduce updateLinksTimestamp() DB contention
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 12 Nov 2015 20:46:45 +0000 (12:46 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 17 Nov 2015 02:36:37 +0000 (02:36 +0000)
commitaf5f7848683c3442258f6ba0fa0acaba2f93c8a5
tree2a3e988f594886890a9e6b6587b6927c91186891
parent1053dceecfe050af3b69569b6af9ac7c6ad98e15
Reduce updateLinksTimestamp() DB contention

Do the LinksUpdateComplete hook updates in a separate
transaction as they may do slow SELECTs and updates.

A large amount of DBPerformance warnings were triggered
by such cases.

Bug: T95501
Change-Id: Ie4e6b7f6aefc21bafba270282c55571ff5385fe0
includes/deferred/LinksUpdate.php