Skip to content

Commit

Permalink
Revert "Also retry on transaction serialization errors (#8317)" (#8334)
Browse files Browse the repository at this point in the history
TransactionSerializationError is a subtype of TransactionConflictError.
This PR was a no-op.

This reverts commit e6a7994.
  • Loading branch information
msullivan authored and deepbuzin committed Feb 18, 2025
1 parent 63073cc commit 55e8306
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions edb/testbase/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,10 +416,7 @@ async def _retry_operation(self, func):
# since that *ought* to be done at the transaction level.
# Though in reality in the test suite it is usually done at the
# test runner level.
except (
errors.TransactionConflictError,
errors.TransactionSerializationError,
):
except errors.TransactionConflictError:
if i >= 10 or self.is_in_transaction():
raise
await asyncio.sleep(
Expand Down

0 comments on commit 55e8306

Please sign in to comment.