SQL error 1213 : Deadlock found when trying to get lock; try restarting transaction

I’m also hitting this on 4.14.
A solution would be welcome.