Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: tidb 更新报错 1105 context canceled
Scenario + Problem Overview
TiDB update operation error (1105, ‘context canceled’)
This error occurs during concurrent updates. Not all updates have this issue.
Check the context. I feel that the transaction timed out and was then canceled.
Is the program connection disconnected?
It is caused by a transaction waiting for a lock timeout, and this error message is not very obvious.
It’s quite clear, it’s either success or failure, there’s no other state… It’s relatively easy to judge.
ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transaction. It should report this timeout error, right?
Is the text too long, or are there illegal characters in it?
The other UDs are fine. Could it be that this UD has a logical issue?
This topic was automatically closed 1 minute after the last reply. No new replies are allowed.