This question has been asked a couple of times in SO and many times in other sites. But I didn\'t get any satisfiable answer.
My problem: I have a java web app
i meet the same problem, it caused by lock for too much time.
we have a long transcation A, if execute it, the other trascation will be locked util transcation A finished, so the others always be killed by our mysql tool(pt-kill)