1
0
Fork 0
arangodb/arangod/V8Server
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
..
FoxxQueuesFeature.cpp
FoxxQueuesFeature.h
V8Context.cpp fix premature unlock (#3802) (#4027) 2017-12-13 18:46:14 +01:00
V8Context.h fix premature unlock (#3802) (#4027) 2017-12-13 18:46:14 +01:00
V8DealerFeature.cpp fix premature unlock (#3802) (#4027) 2017-12-13 18:46:14 +01:00
V8DealerFeature.h fix premature unlock (#3802) (#4027) 2017-12-13 18:46:14 +01:00
v8-actions.cpp fix premature unlock (#3802) (#4027) 2017-12-13 18:46:14 +01:00
v8-actions.h
v8-collection-util.cpp Bug fix/fixes 0609 (#3227) 2017-09-13 16:28:21 +02:00
v8-collection.cpp fix premature unlock (#3802) (#4027) 2017-12-13 18:46:14 +01:00
v8-collection.h Replacing /_api/collection with RestHandler (#3543) 2017-11-02 14:57:17 +01:00
v8-dispatcher.cpp Feature/improved index api for unique constraints and replication (#3715) 2017-11-16 21:02:01 +01:00
v8-dispatcher.h Bug fix/scheduling et al (#3161) 2017-08-30 10:40:02 +02:00
v8-externals.h initial functionality for views - unstable 2017-03-14 16:35:45 +01:00
v8-query.cpp Feature/improved index api for unique constraints and replication (#3715) 2017-11-16 21:02:01 +01:00
v8-query.h
v8-replication.cpp Bug fix/fixes 1910 (#3471) 2017-10-23 09:17:36 +02:00
v8-replication.h
v8-statistics.cpp add more statistical values to the statistics handler (#3344) 2017-09-29 14:22:00 +02:00
v8-statistics.h
v8-user-structures.cpp Bug fix/fix compilation with gxx7 (#3637) 2017-11-10 16:00:57 +01:00
v8-user-structures.h
v8-users.cpp Feature/improved index api for unique constraints and replication (#3715) 2017-11-16 21:02:01 +01:00
v8-users.h Feature/auth context (#2704) 2017-07-02 23:15:57 +02:00
v8-util.cpp initial functionality for views - unstable 2017-03-14 16:35:45 +01:00
v8-views.cpp Missing things for active / passive (#3578) 2017-11-04 20:30:23 +01:00
v8-views.h initial functionality for views - unstable 2017-03-14 16:35:45 +01:00
v8-vocbase.cpp fix premature unlock (#3802) (#4027) 2017-12-13 18:46:14 +01:00
v8-vocbase.h Refactored /_api/index and /_api/database (#2582) 2017-06-19 23:47:40 +02:00
v8-vocbaseprivate.h honor transaction options 2017-06-01 02:01:33 +02:00
v8-voccursor.cpp Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
v8-voccursor.h
v8-vocindex.cpp Feature/improved index api for unique constraints and replication (#3715) 2017-11-16 21:02:01 +01:00
v8-vocindex.h Refactored /_api/index and /_api/database (#2582) 2017-06-19 23:47:40 +02:00