Class: ActiveRecord::TransactionIsolationConflict
- Inherits:
-
WrappedDatabaseException
- Object
- WrappedDatabaseException
- ActiveRecord::TransactionIsolationConflict
- Defined in:
- lib/transaction_isolation/active_record/errors.rb
Overview
This exception represents both deadlocks and serialization conflicts. Deadlocks happen when db engine is using lock-based concurrency control. Serialization conflicts happen when db engine is using multi-version concurrency control. Often db engines combine both approaches and thus generate both types of errors.