Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bonetechnologies/7e17716df2ab2cea06163f467d0ed9ae to your computer and use it in GitHub Desktop.
Save bonetechnologies/7e17716df2ab2cea06163f467d0ed9ae to your computer and use it in GitHub Desktop.
------------------------
LATEST DETECTED DEADLOCK
------------------------
2016-06-22 19:26:01 2af7ba087700
*** (1) TRANSACTION:
TRANSACTION 264153653, ACTIVE 0 sec inserting
mysql tables in use 1, locked 1
LOCK WAIT 12 lock struct(s), heap size 376, 13 row lock(s), undo log entries 3
MySQL thread id 1697, OS thread handle 0x2af7a5706700, query id 988361715 10.11.55.253 ripple update
INSERT INTO user_properties (id, legacy_user_id, vevo_user_id, property_type) VALUES (NULL, 26713336, 'yv5yaEZL31q2TtGqa05XSg', 'BIRTHDAY')
*** (1) WAITING FOR THIS LOCK TO BE GRANTED:
RECORD LOCKS space id 23 page no 341813 n bits 286 index `property_type_unique` of table `ripple`.`user_properties` trx id 264153653 lock_mode X locks gap before rec insert intention waiting
Record lock, heap no 286 PHYSICAL RECORD: n_fields 3; compact format; info bits 32
0: len 22; hex 7976357961455a4c3331713254744771613035585367; asc yv5yaEZL31q2TtGqa05XSg;;
1: len 6; hex 47454e444552; asc GENDER;;
2: len 8; hex 8000000001d21547; asc G;;
*** (2) TRANSACTION:
TRANSACTION 264153648, ACTIVE 0 sec inserting
mysql tables in use 1, locked 1
LOCK WAIT 14 lock struct(s), heap size 376, 15 row lock(s), undo log entries 4
MySQL thread id 1694, OS thread handle 0x2af668a40700, query id 988361711 10.11.55.253 ripple update
INSERT INTO user_properties_values (id, property_id, property_value) VALUES (NULL, 30545235, 'male')
*** (2) HOLDS THE LOCK(S):
RECORD LOCKS space id 23 page no 341813 n bits 286 index `property_type_unique` of table `ripple`.`user_properties` trx id 264153648 lock mode S
Record lock, heap no 286 PHYSICAL RECORD: n_fields 3; compact format; info bits 32
0: len 22; hex 7976357961455a4c3331713254744771613035585367; asc yv5yaEZL31q2TtGqa05XSg;;
1: len 6; hex 47454e444552; asc GENDER;;
2: len 8; hex 8000000001d21547; asc G;;
*** (2) WAITING FOR THIS LOCK TO BE GRANTED:
RECORD LOCKS space id 24 page no 191584 n bits 1 index `property_id` of table `ripple`.`user_properties_values` trx id 264153648 lock_mode X locks gap before rec insert intention waiting
Record lock, heap no 1 PHYSICAL RECORD: n_fields 1; compact format; info bits 0
0: len 8; hex 73757072656d756d; asc supremum;;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment