1
0
Fork 0
arangodb/lib/ApplicationFeatures
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
..
ApplicationFeature.cpp Bug fix/fixes 0211 (#3568) 2017-11-09 12:48:15 +01:00
ApplicationFeature.h added startsBefore() for ApplicationFeature (#2913) 2017-08-01 17:15:25 +02:00
ApplicationServer.cpp fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
ApplicationServer.h fix premature unlock (#3802) 2017-12-13 13:27:42 +01:00
ConfigFeature.cpp Fix configuration file reader in the presence of @include. (#2725) 2017-07-04 22:37:46 +02:00
ConfigFeature.h more style cleanup 2017-01-05 10:52:03 +01:00
DaemonFeature.cpp remove TRI_usleep and TRI_sleep, and use std::this_thread::sleep_for … (#3817) 2017-12-06 18:43:49 +01:00
DaemonFeature.h Bug fix/fixes 1711 obi (#3730) 2017-11-17 16:34:33 +01:00
EnvironmentFeature.cpp more startup environment checks (#3566) 2017-11-04 20:52:14 +01:00
EnvironmentFeature.h Enabled/added startup checks for VM overcommit values. (#2610) 2017-06-22 12:31:32 +02:00
GreetingsFeature.cpp don't fail when using optional features as dependencies 2017-03-01 12:52:51 +01:00
GreetingsFeature.h don't fail when using optional features as dependencies 2017-03-01 12:52:51 +01:00
HttpEndpointProvider.h updated cleanupCFiles 2016-04-23 16:34:57 -07:00
JemallocFeature.cpp added environmentfeature 2017-05-24 22:00:16 +02:00
JemallocFeature.h Feature/jemalloc 3.6 (#2526) 2017-06-06 20:50:10 +02:00
LanguageFeature.cpp Bug fix/fixes 0609 (#3227) 2017-09-13 16:28:21 +02:00
LanguageFeature.h fix locating of relative ICU files 2017-02-08 15:18:16 +01:00
MaxMapCountFeature.cpp increase message level to ERR for max mappings (#3426) 2017-10-16 17:33:22 +02:00
MaxMapCountFeature.h added option `--server.check-max-memory-mappings` (#3185) 2017-09-01 16:11:22 +02:00
NonceFeature.cpp reduce nonce memory usage 2016-06-14 08:47:50 +02:00
NonceFeature.h added unprepare 2016-06-06 18:27:51 +02:00
PageSizeFeature.cpp remove logging for non-topics 2017-02-10 09:32:50 +01:00
PageSizeFeature.h moved server id detection and pagesize detection into their own features 2016-07-18 14:37:12 +02:00
PrivilegeFeature.cpp remove logging for non-topics 2017-02-10 09:32:50 +01:00
PrivilegeFeature.h added --uid and --gid 2016-04-27 12:08:16 +02:00
RocksDBOptionFeature.cpp fix Windows ifdefs (#3824) 2017-12-06 18:43:12 +01:00
RocksDBOptionFeature.h Fix cases where the root user has access to excluded collections (#2856) 2017-08-03 21:16:08 +02:00
ShellColorsFeature.cpp Fix for missing constant in older Windows versions (issue 3742) (#3963) 2017-12-08 15:38:16 +01:00
ShellColorsFeature.h issue #3741: attempt to fix terminal color output in Windows (#3753) 2017-12-06 16:23:54 +01:00
ShutdownFeature.cpp added database.init-database 2016-06-08 21:40:21 +02:00
ShutdownFeature.h script and unittests are features 2016-04-27 22:28:21 +02:00
SupervisorFeature.cpp Bug fix/fixes 1711 obi (#3730) 2017-11-17 16:34:33 +01:00
SupervisorFeature.h fix out-of-memory handling at startup 2017-02-01 13:00:05 +01:00
TempFeature.cpp Bug fix/issues 2709 (#3333) 2017-10-01 09:43:03 +02:00
TempFeature.h make relative temporary paths absolute during the system startup. This fixes #1896 2016-09-27 16:19:13 +02:00
V8PlatformFeature.cpp prevent V8 from causing SIGILL errors (#2932) 2017-08-03 22:15:25 +02:00
V8PlatformFeature.h remove IsolateData again after context gets destroyed 2017-05-22 15:56:23 +02:00
VersionFeature.cpp moved shell colors into their own feature 2017-05-23 16:53:43 +02:00
VersionFeature.h do not require config for --version 2017-03-29 17:52:36 +02:00
WindowsServiceFeature.cpp when running as service correctly set the error state on abort / failure cases, so other components can evaluate it. 2017-05-31 13:21:50 +02:00
WindowsServiceFeature.h when running as service correctly set the error state on abort / failure cases, so other components can evaluate it. 2017-05-31 13:21:50 +02:00