Retry aborted transaction when the deadlock is detected. #166

Merged
arijitAD merged 2 commits from retry-on-deadlock into v1.10.12-statediff 2021-12-14 20:43:55 +00:00
arijitAD commented 2021-12-09 08:27:53 +00:00 (Migrated from github.com)
fixes:https://github.com/vulcanize/go-ethereum/issues/136
i-norden approved these changes 2021-12-13 18:19:03 +00:00
i-norden left a comment
Member

LGTM! Some additional comments here: https://github.com/vulcanize/go-ethereum/issues/136#issuecomment-992704987

This is more of a fix for a symptom rather than an underlying issue but I suspect the changes made on the postgres_refactor branch will prevent intra-process deadlocks from occurring and these changes will be great to have as a fall back and as a way of recovering from inter-process deadlocks.

LGTM! Some additional comments here: https://github.com/vulcanize/go-ethereum/issues/136#issuecomment-992704987 This is more of a fix for a symptom rather than an underlying issue but I suspect the changes made on the `postgres_refactor` branch will prevent intra-process deadlocks from occurring and these changes will be great to have as a fall back and as a way of recovering from inter-process deadlocks.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/go-ethereum#166
No description provided.