views:

42

answers:

1
A: 

Read transactions 1 and 2: Read from end to begining:

  • what type and why: lock_mode X locks gap before rec insert intention waiting
  • what is blocked:RECORD LOCKS space id 0 page no 179145 n bits 304 index fk_history_msgargs of table zvs_rkl_01_test.history_messagearguments trx id 0 5335748
  • WAITING FOR THIS LOCK TO BE GRANTED

InnoDB has problem with concurrent writes, especially if You insert data in the end of innodb table.

iddqd