-
Type: New Feature
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Transactions
-
None
In ActiveRecord save and destroy operations are automatically wrapped in a transaction. Therefore, all transactional callbacks work even if a user did not explicitly open a transaction.
This is an expected behavior for this feature. It is basically impossible to implement it in Mongoid without an implicit transaction. We can just get somehow close to it.
- We should allow users to enable implicit transactions in Mongoid.
- It should be documented that this option will not work on a standalone deployment
- We should provide tools to run a replica set deployment locally, or document how to do it.
- has to be finished together with
-
MONGOID-5540 Add after_*_commit callbacks
- Backlog
- related to
-
MONGOID-5726 HABTM (Two-sided relationship) should use transactions to ensure data integrity
- Backlog