You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I observed the following error which seems very vague: ERROR: Operation expired: Heartbeat: Transaction 63ef23f4-ec83-47a8-9e76-5f8ce634ad1a expired or aborted by a conflict: 40001
Steps to reproduce:
Create a table with min 3 rows in it.
Explicit lock the R1 in T1; R2 in T2; R3 in T3
Try accessing R3 in T1; R1 in T2; R2 in T3
T3 will be aborted immediately due to deadlock with error ERROR: Internal error: Transaction 06b6b2db-e3f2-41c0-b14d-57bbada4b5ce was aborted while waiting for locks
After that the locks would be released and wit will be over for T1 & T2
Wait for some time and try to commit T1/T2
This will throw the above mentioned error.
The error doesn't clearly mention the reason why transaction got aborted and is a little vague. From my observation, it is because of the wait time in step 6 as I didn't face this issue when I commit the transactions as soon as the waiting command gets executed. There are a couple of issues here:
We shouldn't be aborting >1 transactions during deadlock as the transaction leading to deadlock is being aborted immediately, leading to no deadlock after that. So, no more transactions should be aborted.
The error thrown for the later transaction (in step 7) abortion is not very specific as to why was that particular transaction aborted. The error message needs to be improved.
The text was updated successfully, but these errors were encountered:
Jira Link: DB-3611
Description
I observed the following error which seems very vague:
ERROR: Operation expired: Heartbeat: Transaction 63ef23f4-ec83-47a8-9e76-5f8ce634ad1a expired or aborted by a conflict: 40001
Steps to reproduce:
ERROR: Internal error: Transaction 06b6b2db-e3f2-41c0-b14d-57bbada4b5ce was aborted while waiting for locks
The error doesn't clearly mention the reason why transaction got aborted and is a little vague. From my observation, it is because of the wait time in step 6 as I didn't face this issue when I commit the transactions as soon as the waiting command gets executed. There are a couple of issues here:
The text was updated successfully, but these errors were encountered: