1
0
Fork 0
arangodb/arangod/StorageEngine
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
..
EngineSelectorFeature.cpp fixed issue #3549: server reading ENGINE config file fails on common standard newline character (#3550) 2017-10-30 16:31:12 +01:00
EngineSelectorFeature.h fix logic in engine selector 2017-05-17 10:02:16 +02:00
PhysicalCollection.cpp Bug fix/fixes 0211 (#3568) 2017-11-09 12:48:15 +01:00
PhysicalCollection.h Bug fix/fixes 0211 (#3568) 2017-11-09 12:48:15 +01:00
StorageEngine.h make the replication applier auto-start for the RocksDB engine if con… (#3647) 2017-11-15 12:02:37 +01:00
StorageEngineFeature.h remove dependency on MMFiles features from non-MMFiles files (#2925) 2017-08-01 22:16:43 +02:00
TransactionCollection.cpp Feature/auth context (#2704) 2017-07-02 23:15:57 +02:00
TransactionCollection.h fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
TransactionManager.h optimize away own transaction management for RocksDB engine 2017-05-04 23:16:53 +02:00
TransactionState.cpp fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
TransactionState.h Missing things for active / passive (#3578) 2017-11-04 20:30:23 +01:00
WalAccess.cpp Fixing collection name collection handling in Syncer (#3710) 2017-11-17 16:36:57 +01:00
WalAccess.h Fixing collection name collection handling in Syncer (#3710) 2017-11-17 16:36:57 +01:00