1
0
Fork 0
arangodb/arangod/Transaction
Jan 9c76613e63
fix premature unlock (#3802)
* fix some deadlocks found by evil lock manager (tm)

* fix duplicate lock

* fix indentation

* ensure proper lock dependencies

* fix lock acquisition

* removed useless comment

* do not lock twice

* create either a V8 transaction context or a standalone transaction context, depending on if we are called from within V8 or not

* AQL micro optimizations

* use explicit constructor

* only use V8DealerFeature's ConditionLocker for acquiring a free V8 context

entering and exiting the selected context is then done later on without having to hold the ConditionLocker

* remove some recursive locks

* Disable custom deadlock detection when Thread Sanitizer is enabled

* Changing ifdef's

* grr

* broke gcc

* Using atomic for ApplicationServer::_server

* fix premature unlock

* add some asserts

* honor collection locking in cluster

* yet one more lock fix

* removed assertion

* some more bugfixes

* Fixing assert

(cherry picked from commit 1155df173bfb67303077fbe04ee8d909517bfd21)
2017-12-13 13:27:42 +01:00
..
Context.cpp Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
Context.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
ContextData.h
Helpers.cpp Feature/improved index api for unique constraints and replication (#3715) 2017-11-16 21:02:01 +01:00
Helpers.h try to work around some assertions (#3296) 2017-09-28 09:21:33 +02:00
Hints.h Fixing an issue with intermediate commits (#3975) 2017-12-12 09:17:18 +01:00
Methods.cpp fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
Methods.h fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
Options.cpp
Options.h
StandaloneContext.cpp Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
StandaloneContext.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
Status.cpp try to work around some assertions (#3296) 2017-09-28 09:21:33 +02:00
Status.h try to work around some assertions (#3296) 2017-09-28 09:21:33 +02:00
UserTransaction.h
V8Context.cpp fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
V8Context.h fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00