1
0
Fork 0
arangodb/arangod/RestHandler
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
..
RestAdminLogHandler.cpp Replacing /_api/collection with RestHandler (#3543) 2017-11-02 14:57:17 +01:00
RestAdminLogHandler.h
RestAdminRoutingHandler.cpp Replacing /_api/collection with RestHandler (#3543) 2017-11-02 14:57:17 +01:00
RestAdminRoutingHandler.h Converted a portion of the admin routing API from JS to C++ (#2919) 2017-08-01 17:14:08 +02:00
RestAdminServerHandler.cpp Feature/server mode (#3590) 2017-11-10 17:56:21 +01:00
RestAdminServerHandler.h Feature/server mode (#3590) 2017-11-10 17:56:21 +01:00
RestAqlFunctionsHandler.cpp
RestAqlFunctionsHandler.h
RestAuthHandler.cpp Feature/auth context (#2815) 2017-07-16 09:39:03 +02:00
RestAuthHandler.h
RestBaseHandler.cpp Replacing /_api/collection with RestHandler (#3543) 2017-11-02 14:57:17 +01:00
RestBaseHandler.h Replacing /_api/collection with RestHandler (#3543) 2017-11-02 14:57:17 +01:00
RestBatchHandler.cpp Reuse buffers for HttpResponse (#3433) 2017-10-30 17:30:36 +01:00
RestBatchHandler.h
RestCollectionHandler.cpp fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
RestCollectionHandler.h Replacing /_api/collection with RestHandler (#3543) 2017-11-02 14:57:17 +01:00
RestCursorHandler.cpp Missing things for active / passive (#3578) 2017-11-04 20:30:23 +01:00
RestCursorHandler.h
RestDatabaseHandler.cpp Replacing /_api/collection with RestHandler (#3543) 2017-11-02 14:57:17 +01:00
RestDatabaseHandler.h Refactored /_api/index and /_api/database (#2582) 2017-06-19 23:47:40 +02:00
RestDebugHandler.cpp
RestDebugHandler.h
RestDemoHandler.cpp remove TRI_usleep and TRI_sleep, and use std::this_thread::sleep_for … (#3817) 2017-12-06 18:43:49 +01:00
RestDemoHandler.h
RestDocumentHandler.cpp Feature/improved index api for unique constraints and replication (#3715) 2017-11-16 21:02:01 +01:00
RestDocumentHandler.h
RestEchoHandler.cpp
RestEchoHandler.h
RestEdgesHandler.cpp Feature/improved index api for unique constraints and replication (#3715) 2017-11-16 21:02:01 +01:00
RestEdgesHandler.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
RestEndpointHandler.cpp Converted endpoint handler from JS to C++ (#2905) 2017-08-01 09:53:04 +02:00
RestEndpointHandler.h Converted endpoint handler from JS to C++ (#2905) 2017-08-01 09:53:04 +02:00
RestEngineHandler.cpp Adding `db._engineStats` for arangosh 2017-08-07 17:00:15 +02:00
RestEngineHandler.h
RestExplainHandler.cpp Bug fix/fixes 1909 (#3285) 2017-09-19 21:56:32 +02:00
RestExplainHandler.h Converted rest handler for explain from JS to C++. (#2907) 2017-08-01 22:10:39 +02:00
RestHandlerCreator.h
RestImportHandler.cpp Feature/improved index api for unique constraints and replication (#3715) 2017-11-16 21:02:01 +01:00
RestImportHandler.h Feature/improved index api for unique constraints and replication (#3715) 2017-11-16 21:02:01 +01:00
RestIndexHandler.cpp Feature/auth context (#2704) 2017-07-02 23:15:57 +02:00
RestIndexHandler.h Refactored /_api/index and /_api/database (#2582) 2017-06-19 23:47:40 +02:00
RestJobHandler.cpp Missing things for active / passive (#3578) 2017-11-04 20:30:23 +01:00
RestJobHandler.h
RestPleaseUpgradeHandler.cpp
RestPleaseUpgradeHandler.h
RestPregelHandler.cpp Replacing /_api/collection with RestHandler (#3543) 2017-11-02 14:57:17 +01:00
RestPregelHandler.h
RestQueryCacheHandler.cpp
RestQueryCacheHandler.h
RestQueryHandler.cpp Feature/slow queries log bind vars (#2954) 2017-08-04 20:45:12 +02:00
RestQueryHandler.h
RestReplicationHandler.cpp fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
RestReplicationHandler.h removed `--recycle-ids` option for arangorestore (#3713) 2017-11-16 14:25:54 +01:00
RestShutdownHandler.cpp RocksDB WAL tailing fixes (#3595) 2017-11-10 09:31:53 +01:00
RestShutdownHandler.h
RestSimpleHandler.cpp Missing things for active / passive (#3578) 2017-11-04 20:30:23 +01:00
RestSimpleHandler.h
RestSimpleQueryHandler.cpp Replacing /_api/collection with RestHandler (#3543) 2017-11-02 14:57:17 +01:00
RestSimpleQueryHandler.h
RestTransactionHandler.cpp fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
RestTransactionHandler.h fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
RestUploadHandler.cpp Bug fix/fixes 0609 (#3227) 2017-09-13 16:28:21 +02:00
RestUploadHandler.h
RestUsersHandler.cpp Fixed a dead-lock issue in authinfo (#3764) 2017-11-22 10:33:39 +01:00
RestUsersHandler.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
RestVersionHandler.cpp Add host id detection and show in /_admin/cluster/Health. (#3389) 2017-10-11 12:42:44 +02:00
RestVersionHandler.h
RestViewHandler.cpp Replacing /_api/collection with RestHandler (#3543) 2017-11-02 14:57:17 +01:00
RestViewHandler.h
RestVocbaseBaseHandler.cpp Feature/improved index api for unique constraints and replication (#3715) 2017-11-16 21:02:01 +01:00
RestVocbaseBaseHandler.h Feature/improved index api for unique constraints and replication (#3715) 2017-11-16 21:02:01 +01:00
RestWalAccessHandler.cpp RocksDB WAL tailing fixes (#3595) 2017-11-10 09:31:53 +01:00
RestWalAccessHandler.h Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
WorkMonitorHandler.cpp
WorkMonitorHandler.h