Skip to content

Deadlocks #1350

Answered by bgrainger
Skyedra asked this question in Q&A
Jul 28, 2023 · 2 comments · 5 replies
Discussion options

You must be logged in to vote

Yes, for an XA transaction, you'll get an exception similar to the following:

MySqlConnector.MySqlException (0x80004005): XA_RBDEADLOCK: Transaction branch was rolled back: deadlock was detected

For a regular transaction, you'll get an exception similar to:

MySqlConnector.MySqlException: Deadlock found when trying to get lock; try restarting transaction

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@Skyedra
Comment options

@bgrainger
Comment options

@Skyedra
Comment options

Answer selected by Skyedra
Comment options

You must be logged in to vote
2 replies
@bgrainger
Comment options

@naughtyGitCat
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants