Page MenuHomePhabricator
Paste P283

(An Untitled Masterwork)
ActivePublic

Authored by stwalkerster on Mar 30 2021, 7:22 PM.
Tags
None
Referenced Files
F392277: raw-paste-data.txt
Mar 30 2021, 7:22 PM
Subscribers
None
------------------------
LATEST DETECTED DEADLOCK
------------------------
2021-03-30 13:40:04 0x7f352355b700
*** (1) TRANSACTION:
TRANSACTION 364473, ACTIVE 3 sec inserting
mysql tables in use 1, locked 1
LOCK WAIT 14 lock struct(s), heap size 1128, 8 row lock(s), undo log entries 3
MySQL thread id 470680, OS thread handle 139866286368512, query id 6231546 accounts-appserver5.account-creation-assistance.eqiad1.wikim 172.16.0.107 production Update
INSERT INTO log (objectid, objecttype, user, action, timestamp, comment)
VALUES ('526', 'JobQueue', '-1', 'JobCompleted', CURRENT_TIMESTAMP(), NULL)
*** (1) WAITING FOR THIS LOCK TO BE GRANTED:
RECORD LOCKS space id 539 page no 7646 n bits 480 index log_idx_typeuseraction of table `production`.`log` trx id 364473 lock_mode X locks gap before rec insert intention waiting
Record lock, heap no 271 PHYSICAL RECORD: n_fields 4; compact format; info bits 0
0: len 8; hex 4a6f625175657565; asc JobQueue;;
1: len 4; hex 7fffffff; asc ;;
2: len 8; hex 4a6f624973737565; asc JobIssue;;
3: len 4; hex 8008b653; asc S;;
*** (2) TRANSACTION:
TRANSACTION 421344197996928, ACTIVE 6 sec fetching rows
mysql tables in use 3, locked 3
1580 lock struct(s), heap size 237688, 571065 row lock(s)
MySQL thread id 470678, OS thread handle 139866202814208, query id 6231573 accounts-appserver5.account-creation-assistance.eqiad1.wikim 172.16.0.107 production Sending data
SELECT
/* StatsTopCreators::execute()/top5out */
COUNT(*) count,
user.username username,
user.status status,
user.id userid
FROM log
INNER JOIN user ON user.id = log.user
LEFT JOIN emailtemplate ON CONCAT('Closed ', emailtemplate.id) = log.action
WHERE (emailtemplate.defaultaction = 'created' OR log.action = 'Closed custom-y')
AND log.timestamp BETWEEN CURRENT_DATE() AND NOW()
GROUP BY log.user, user.username
ORDER BY COUNT(*) DESC
*** (2) HOLDS THE LOCK(S):
RECORD LOCKS space id 539 page no 7646 n bits 480 index log_idx_typeuseraction of table `production`.`log` trx id 421344197996928 lock mode S
Record lock, heap no 1 PHYSICAL RECORD: n_fields 1; compact format; info bits 0
0: len 8; hex 73757072656d756d; asc supremum;;

Event Timeline

stwalkerster created this object with visibility "Public (No Login Required)".
EyeInTheSkyBot mentioned this in Unknown Object (Maniphest Task).Mar 30 2021, 7:23 PM