Page MenuHomePhabricator

raw-paste-data.txt

Authored By
stwalkerster
Mar 30 2021, 7:22 PM
Size
2 KB
Referenced Files
None
Subscribers
None

raw-paste-data.txt

------------------------
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;;

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
280349
Default Alt Text
raw-paste-data.txt (2 KB)

Event Timeline