1
0
Fork 0
arangodb/arangod/GeneralServer
Jan 9c5893e7a7
fix premature unlock (#3802) (#4027)
* 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 18:46:14 +01:00
..
AsyncJobManager.cpp Missing things for active / passive (#3578) 2017-11-04 20:30:23 +01:00
AsyncJobManager.h Missing things for active / passive (#3578) 2017-11-04 20:30:23 +01:00
AuthenticationFeature.cpp Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
AuthenticationFeature.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
GeneralCommTask.cpp fixed asserts and check password test 2017-11-05 13:10:47 +01:00
GeneralCommTask.h Reuse buffers for HttpResponse (#3433) 2017-10-30 17:30:36 +01:00
GeneralDefinitions.h Squashed commit of the following: 2017-05-12 23:22:22 +02:00
GeneralListenTask.cpp Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
GeneralListenTask.h merged shutdown and close 2017-06-09 14:51:11 +02:00
GeneralServer.cpp Feature/planning 499 different error codes for version check (#3118) 2017-08-30 10:47:31 +02:00
GeneralServer.h there still seems to be a race between 2017-05-09 02:03:59 +02:00
GeneralServerFeature.cpp fix premature unlock (#3802) (#4027) 2017-12-13 18:46:14 +01:00
GeneralServerFeature.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
HttpCommTask.cpp Bug fix/fix compilation with gxx7 (#3637) 2017-11-10 16:00:57 +01:00
HttpCommTask.h Reuse buffers for HttpResponse (#3433) 2017-10-30 17:30:36 +01:00
OperationMode.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
RestEngine.cpp removed unused includes 2017-06-08 13:37:30 +02:00
RestEngine.h better threads working handling 2017-02-06 16:32:55 +01:00
RestHandler.cpp Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
RestHandler.h Feature/js to cpp transaction handler (#2985) 2017-08-11 09:29:34 +02:00
RestHandlerFactory.cpp Bug fix/fixes 1511 (#3711) 2017-11-16 14:18:51 +01:00
RestHandlerFactory.h Missing things for active / passive (#3578) 2017-11-04 20:30:23 +01:00
RestStatus.cpp remove logging for non-topics 2017-02-10 09:32:50 +01:00
RestStatus.h switch to boost asio 2016-10-14 10:12:17 +00:00
VstCommTask.cpp Reuse buffers for HttpResponse (#3433) 2017-10-30 17:30:36 +01:00
VstCommTask.h Reuse buffers for HttpResponse (#3433) 2017-10-30 17:30:36 +01:00
VstNetwork.h some cleanup (#3583) 2017-11-07 10:27:21 +01:00