throw exception if any update query gets deadlock detection exception more than 100 times
Merge branch '2.0-maint' into 2.1-maint
Merge branch '2.1-maint'