1
0
Fork 0
arangodb/arangod/Replication
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
..
DatabaseInitialSyncer.cpp make replication abortable (#4016) 2017-12-13 12:32:04 +01:00
DatabaseInitialSyncer.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
DatabaseReplicationApplier.cpp Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
DatabaseReplicationApplier.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
DatabaseTailingSyncer.cpp make replication abortable (#4016) 2017-12-13 12:32:04 +01:00
DatabaseTailingSyncer.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
GlobalInitialSyncer.cpp make replication abortable (#4016) 2017-12-13 12:32:04 +01:00
GlobalInitialSyncer.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
GlobalReplicationApplier.cpp Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
GlobalReplicationApplier.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
GlobalTailingSyncer.cpp make replication abortable (#4016) 2017-12-13 12:32:04 +01:00
GlobalTailingSyncer.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
InitialSyncer.cpp Bug fix/fixes 1910 (#3471) 2017-10-23 09:17:36 +02:00
InitialSyncer.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
ReplicationApplier.cpp make replication abortable (#4016) 2017-12-13 12:32:04 +01:00
ReplicationApplier.h make replication abortable (#4016) 2017-12-13 12:32:04 +01:00
ReplicationApplierConfiguration.cpp RocksDB WAL tailing fixes (#3595) 2017-11-10 09:31:53 +01:00
ReplicationApplierConfiguration.h RocksDB WAL tailing fixes (#3595) 2017-11-10 09:31:53 +01:00
ReplicationApplierState.cpp add a test for replication applier restarts (#3750) 2017-12-06 11:09:36 +01:00
ReplicationApplierState.h add a test for replication applier restarts (#3750) 2017-12-06 11:09:36 +01:00
ReplicationFeature.cpp make the replication applier auto-start for the RocksDB engine if con… (#3647) 2017-11-15 12:02:37 +01:00
ReplicationFeature.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
ReplicationTransaction.h No access collections Improvements (#3190) 2017-09-07 14:55:07 +02:00
Syncer.cpp fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
Syncer.h make replication abortable (#4016) 2017-12-13 12:32:04 +01:00
TailingSyncer.cpp make replication abortable (#4016) 2017-12-13 12:32:04 +01:00
TailingSyncer.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00