-
Type:
Question
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: Laravel
-
None
-
None
-
None
-
None
-
None
-
None
-
None
YaroshYevhen has created Issue #3488: [BUG] abortTransaction() call without transaction in laravel-mongodb. This Jira ticket was filed by GromNaN
Issue Text:
- Laravel-mongodb Version: 5.5.0
- PHP Version: 8.3.30
- Database Driver & Version: mongo:8.0
Description:
MongoBatchRepository::rollBack() unconditionally calls abortTransaction() even though it doesn't use MongoDB transactions for its operations. rollBack() should be a no-op (or check for an active transaction) since this class doesn't wrap any operations in transactions.
This issue causes the misleading "No active transaction" exception appear in our logs even though the real cause of a fail was the timeout.