JetBrains / JetBrains/Exposed

Auto-retry transactions only in case of lock-waits and dead-locks

Open
#1,449 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
9.3k
Forks
798
Avg merge
4d 2h
Merged PRs (30d)
26

Description

This [commit](https://github.com/JetBrains/Exposed/commit/15a30c23933b87fa72d01f68dde6b0e165c32812) allows to retry when transaction fails. But it retries for any reason, even when table doesn't exist, which is useless because in next attemps it has no chance to complete successfully.

There shoud be a condition to check if the exception allows a retry of the transaction before.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.