Aaron Schulz has uploaded a new change for review.

Change subject: [JobQueue] Reduced the change of deadlocks in 
recycleStaleJobs().
......................................................................

[JobQueue] Reduced the change of deadlocks in recycleStaleJobs().

* Do the DELETE by primary key to avoid gap locks. This should cut
  down on deadlocks, though their frequency is still fairly modest.
* Also use GET_LOCK() to assure that two processes are not doing this
  update at the same time.

Change-Id: Ic3de3b7cb3acd5294a151b4a00bfed65c33d0f1e
---
M includes/job/JobQueueDB.php
1 file changed, 37 insertions(+), 13 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/91/37291/1
--
To view, visit https://gerrit.wikimedia.org/r/37291
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic3de3b7cb3acd5294a151b4a00bfed65c33d0f1e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to