1
0
Fork 0
arangodb/arangod
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
..
Actions Missing things for active / passive (#3578) 2017-11-04 20:30:23 +01:00
Agency fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
Aql fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
Cache Fixing an issue with intermediate commits (#3975) 2017-12-12 09:17:18 +01:00
Cluster fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
GeneralServer fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
Graph Reduce planning time of high depth Traversals (#3942) 2017-12-08 15:45:08 +01:00
Indexes Fulltext Index Cursor (#3807) 2017-12-06 14:29:57 +01:00
InternalRestHandler try to work around some assertions (#3296) 2017-09-28 09:21:33 +02:00
MMFiles fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
Pregel remove TRI_usleep and TRI_sleep, and use std::this_thread::sleep_for … (#3817) 2017-12-06 18:43:49 +01:00
Replication fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
RestHandler fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
RestServer remove TRI_usleep and TRI_sleep, and use std::this_thread::sleep_for … (#3817) 2017-12-06 18:43:49 +01:00
RocksDBEngine fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
Scheduler fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
Statistics Bug fix/tidy up statistics (#3970) 2017-12-08 16:00:23 +01:00
StorageEngine fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
Transaction fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
Utils fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
V8Server fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
Views Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
VocBase fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
CMakeLists.txt Move Statistics into c++ (#3184) 2017-12-06 16:36:52 +01:00
dbg.cmake