While trying to undelete a file on Commons (File:Soldier Sikh LI INF of the Indian Army practices aim during MALABAR 2006.jpg), I got this error:
To avoid creating high replication lag, this transaction was aborted because the write duration (3.8845181560516) exceeded the 3 second limit. If you are changing many items at once, try doing multiple smaller operations instead. [WrIzDQpAICoAABGltIQAAACW] 2018-03-21 10:25:27: Fatal exception of type "Wikimedia\Rdbms\DBTransactionSizeError"
A similar message is mentioned on T63122, and T150702 seems to be related.