1
0
Fork 0
arangodb/arangod/Utils
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
..
Authentication.cpp Feature/auth context (#2815) 2017-07-16 09:39:03 +02:00
Authentication.h Missing things for active / passive (#3578) 2017-11-04 20:30:23 +01:00
CollectionExport.h move common code into its own file 2017-05-22 17:46:12 +02:00
CollectionGuard.h fix premature unlock (#3802) (#4027) 2017-12-13 18:46:14 +01:00
CollectionKeys.cpp fix premature unlock (#3802) (#4027) 2017-12-13 18:46:14 +01:00
CollectionKeys.h fix premature unlock (#3802) (#4027) 2017-12-13 18:46:14 +01:00
CollectionKeysRepository.cpp move collection keys into engine 2017-03-21 14:23:29 +01:00
CollectionKeysRepository.h removed unused forwards and functions 2016-02-25 00:48:06 +01:00
CollectionNameResolver.cpp remove logging for non-topics 2017-02-10 09:32:50 +01:00
CollectionNameResolver.h Removed all references on TRI_vocbase_col_t and replaced them by LogicalCollection class. Not everything is properly moved and implemetned yet. This commit causes crashes. 2016-08-17 11:10:39 +02:00
Cursor.cpp Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
Cursor.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
CursorRepository.cpp make more exception safe 2017-04-20 12:54:59 +02:00
CursorRepository.h moved export into engine 2017-03-21 11:41:50 +01:00
DatabaseGuard.cpp Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
DatabaseGuard.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
Events.cpp initial functionality for views - unstable 2017-03-14 16:35:45 +01:00
Events.h initial functionality for views - unstable 2017-03-14 16:35:45 +01:00
ExecContext.cpp Missing things for active / passive (#3578) 2017-11-04 20:30:23 +01:00
ExecContext.h fixed asserts and check password test 2017-11-05 13:10:47 +01:00
OperationCursor.cpp Bug fix/isrestore (#3283) 2017-10-03 11:53:49 +02:00
OperationCursor.h Feature/improved index api for unique constraints and replication (#3715) 2017-11-16 21:02:01 +01:00
OperationOptions.h Feature/improved index api for unique constraints and replication (#3715) 2017-11-16 21:02:01 +01:00
OperationResult.h Feature/improved index api for unique constraints and replication (#3715) 2017-11-16 21:02:01 +01:00
SingleCollectionTransaction.cpp No access collections Improvements (#3190) 2017-09-07 14:55:07 +02:00
SingleCollectionTransaction.h No access collections Improvements (#3190) 2017-09-07 14:55:07 +02:00
WorkMonitorArangod.cpp preparation for RocksDB logger 2017-05-09 12:42:25 +02:00