1
0
Fork 0
Commit Graph

336 Commits

Author SHA1 Message Date
Dan Larkin 024fccf82e Increased default size for RocksDB block cache. 2017-05-12 08:46:16 -04:00
jsteemann fb088d35f2 more unique ptrs 2017-05-12 12:32:47 +02:00
jsteemann b1aae2efdd remove unused options 2017-05-12 12:12:09 +02:00
Simran Brucherseifer c27a8c14a5 Add footer to docs, unify slogan 2017-05-12 10:19:37 +02:00
Wilfried Goesgens c991f52303 forward SIG_HUP from supervisor 2017-05-11 15:20:24 +02:00
jsteemann b64645e83b use some parallelism 2017-05-10 13:08:41 +02:00
Dan Larkin 5702e11bc5 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2017-05-08 12:34:56 -04:00
Dan Larkin 4e70775ec9 Removed some hard-coded default options for RocksDB. 2017-05-08 12:34:51 -04:00
jsteemann 12b46d2086 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-05-08 18:27:07 +02:00
jsteemann 7577fed6fb added logger 2017-05-08 18:24:40 +02:00
Dan Larkin 284bb6fb51 Fixed some issues with RocksDB passthrough options. 2017-05-08 12:08:41 -04:00
Dan Larkin 9924fa1480 Added more RocksDB passthrough options. 2017-05-07 11:08:25 -04:00
jsteemann edeeef8b56 re-enabled signal handlers 2017-05-05 13:09:59 +02:00
jsteemann 400b64ac7c revert commit for deterministic feature orders: breaks signal handlers! 2017-05-05 00:12:44 +02:00
jsteemann 1e72f8ccdc allow configuration of use_fsync from the outside 2017-05-04 01:15:09 +02:00
jsteemann a901b1e8fd make feature-order more deterministic 2017-05-04 00:40:44 +02:00
jsteemann 2e3d704d10 fix MSVC compile warnings 2017-05-03 15:47:45 +02:00
jsteemann 0434d88ab4 rocksdb options 2017-04-25 02:22:00 +02:00
jsteemann 361d513087 re-enable user settings for RocksDB 2017-04-21 15:28:29 +02:00
jsteemann 62d0bb36d1 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-04-21 15:17:43 +02:00
Wilfried Goesgens cb54938582 also try to detect the icu database in its absolute install directory 2017-04-21 14:22:56 +02:00
jsteemann 87d18664f9 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-04-20 12:26:13 +02:00
Frank Celler 6b37aacfa0 remove old files on startup 2017-04-20 11:42:48 +02:00
jsteemann fd333875a2 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-04-20 09:05:23 +02:00
Frank Celler f1d0c5eba1 added jemalloc feature 2017-04-19 19:57:54 +02:00
jsteemann 6786f7257e formatting 2017-04-19 17:26:12 +02:00
Jan Christoph Uhde b66c8526c2 change --rocksdb.enabled to be a obosolete option 2017-04-19 14:54:10 +02:00
Jan Christoph Uhde 507b870ff1 add RocksDBOptionFeature to unify configuration of RocksDB
instances for storage-engine and persistent-index that are used mutual
exclusive.
2017-04-19 12:20:41 +02:00
jsteemann a2705d3e82 fixed issue #2428 2017-04-18 09:30:49 +02:00
Wilfried Goesgens dd2b2b3cce add more state logging to the supervisor 2017-04-10 11:22:07 +02:00
Wilfried Goesgens cfa5daec8f port setenv call for windows 2017-04-07 16:43:26 +02:00
Wilfried Goesgens 331ff7b724 once we found icudtl.dat save its location to the env, so subsequent processes can use that. 2017-04-07 16:06:07 +02:00
jsteemann a0cca4d295 remove usleeps 2017-04-03 15:15:51 +02:00
Simon Grätzer cf4294c9ca Integrated counters with collections 2017-04-03 13:24:22 +02:00
jsteemann a0adeed1c3 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-03-29 18:14:40 +02:00
Frank Celler 3f0915b436 do not require config for --version 2017-03-29 17:52:36 +02:00
Simon Grätzer 913b60c983 Fix usleep 2017-03-28 17:15:05 +02:00
Simon Grätzer 9e1a181393 Edge index tax changes 2017-03-28 14:02:29 +02:00
jsteemann 922a8af392 turn off all MMFiles features in case RocksDB engine is selected 2017-03-27 14:22:00 +02:00
jsteemann 30651604c6 provide more info in supervisor mode 2017-03-10 08:11:09 +01:00
Frank Celler 7eefdf547b simplification: FileResult does only support ok, no additional result
header only, added FileResultString class for Result that return a string
2017-03-08 13:01:20 +01:00
Frank Celler b14dbe6435 added base class Result and an example FileResult 2017-03-06 10:33:32 -05:00
jsteemann 0ac29eb177 don't fail when using optional features as dependencies 2017-03-01 12:52:51 +01:00
jsteemann 43d797132a improved error messages in case config file is not found 2017-02-21 16:19:26 +01:00
Frank Celler 1298c0eaf5 fixed include to include the file at the place where include is issued 2017-02-10 17:17:11 +01:00
jsteemann d024a6d00a remove logging for non-topics 2017-02-10 09:32:50 +01:00
Michael Hackstein 5dfd652d64 Merge branch 'devel' of github.com:arangodb/arangodb into engine-api 2017-02-08 15:57:30 +01:00
Wilfried Goesgens a3ac94d3b2 fix locating of relative ICU files 2017-02-08 15:18:16 +01:00
jsteemann 4fa4259c59 hide some infrequently used config options by default 2017-02-08 14:43:59 +01:00
jsteemann 9d0a210545 prevent memleaks in C++ UnitTests 2017-02-07 17:30:30 +01:00
Wilfried Goesgens 0932d51904 Merge branch 'devel' of github.com:arangodb/ArangoDB into v8_subsubmodule 2017-02-07 13:48:57 +01:00
jsteemann e2a312450f fix out-of-memory handling at startup 2017-02-01 13:00:05 +01:00
Wilfried Goesgens bb80b5cf90 Merge branch 'devel' of github.com:arangodb/ArangoDB into v8_subsubmodule 2017-01-31 16:34:42 +01:00
Wilfried Goesgens f11a545377 fix windows compile 2017-01-31 16:34:29 +01:00
jsteemann e825be35a1 prevent duplicate forward slashes in concatenated filenames
also prevent server start in case included config file cannot be found
2017-01-31 14:56:28 +01:00
Wilfried Goesgens 584f3120dd Upgrade V8
- ICU now doesn't build the icudata library anymore
    - ship the icu database on all platforms and all packages
    - we now load the icu database file ourselves, and hand over the pointer to ICU.
  - follow the V8 changes around Weak pointer handling
2017-01-30 12:30:07 +01:00
jsteemann 19595ad169 fix description 2017-01-18 15:46:53 +01:00
jsteemann 7359ac44b2 more style cleanup 2017-01-05 10:52:03 +01:00
jsteemann 9b42e9cee6 some improvements for memory management
added more memory diagnostics for memory usage:
- collection.figures() now returns a "readCache" attribute which contains the
  number of and memory usage of entries in the document revisions cache for the
  collection, and a "revisions" attribute with the number and memory usage
  of entries in the storage engine's revision lookup table for the collection
- the default value for --database.revision-cache-target-size was changed from
  75% of RAM to 30% of RAM
2016-12-15 15:30:28 +01:00
jsteemann b96897e296 fixed some issues detected by coverity build tool 2016-12-12 15:41:54 +01:00
jsteemann 58da24b1a6 fix engine selection and feature start/stop 2016-11-17 15:58:42 +01:00
jsteemann 5b054a7db7 cosmetics 2016-11-07 21:17:03 +01:00
Frank Celler 192516f4d7 added -D 2016-11-07 17:20:56 +01:00
jsteemann 56b771f0d2 some more debug logging for the supervisor 2016-11-02 21:01:42 +01:00
Frank Celler 7df02164ee fixed supervisor startup 2016-11-02 19:37:49 +00:00
Wilfried Goesgens cbaa2c3b02 More places to pass along the binaryPath for teh windows 2016-10-12 13:21:38 +02:00
Wilfried Goesgens 54ae758c7c We also need to know the binary directory when looking up the config
file; else we may miscalculate file locations.
2016-10-12 12:03:37 +02:00
Frank Celler f559344034 added different path for different editions 2016-09-30 15:24:31 +02:00
Wilfried Goesgens daa5c9f6a5 make relative temporary paths absolute during the system startup. This fixes #1896 2016-09-27 16:19:13 +02:00
jsteemann c4ca7ae2b5 make version details queryable via db._version() 2016-09-09 10:50:21 +02:00
jsteemann fa21e70256 Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types 2016-08-31 17:59:54 +02:00
jsteemann 89ac2dfba5 don't leak on help 2016-08-31 14:28:23 +02:00
jsteemann bc9d0e74d5 unprepare features on abort 2016-08-30 12:59:15 +02:00
jsteemann 85db0a062a removed unused file 2016-08-25 14:03:54 +02:00
jsteemann 07055384b8 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-24 17:34:59 +02:00
Wilfried Goesgens 1f162ac882 Implement scheme to more clever pass the directories from the build process to the run-time
We will now try to evaluate the toplevel install directory from the configured binary dir.
We will use this toplever directory when searching for other directories.
2016-08-24 14:45:08 +02:00
Frank Celler aed99f6b53 fixed ownership of handler 2016-08-18 23:06:36 +02:00
Michael Hackstein 7b328d39e9 Merge branch 'devel' of github.com:arangodb/arangodb into engine-vs-velocystream 2016-08-11 12:41:08 +02:00
servusoft cfe65305ad Adaptation minimum memory for ARM architecture (over global TRI_V8_MAXHEAP) 2016-08-05 18:54:34 +02:00
jsteemann 5cdbfc423d Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-02 11:57:37 +02:00
Jan Steemann 2870a9f10f visual studio 2016-08-02 11:46:44 +02:00
Frank Celler da85dc2adc added a panic interrupt of memory gets low 2016-08-01 13:43:30 +02:00
jsteemann 71bd7deace Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-01 09:04:17 +02:00
Frank Celler 51683dbda0 added a panic interrupt of memory gets low 2016-07-31 12:58:27 +02:00
jsteemann 5ee344b685 added greetings feature 2016-07-18 18:32:27 +02:00
jsteemann 807f287868 moved server id detection and pagesize detection into their own features 2016-07-18 14:37:12 +02:00
Frank Celler 6b25a02cad fixed typo 2016-06-21 15:50:20 +02:00
Frank Celler 08799da4d0 child should not remove the pid-file 2016-06-21 15:48:00 +02:00
jsteemann 470919bf67 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-14 16:43:12 +02:00
Jan Steemann 24ee67eda7 try to fix potential crashes 2016-06-14 16:41:00 +02:00
jsteemann 04ff7adccf reduce nonce memory usage 2016-06-14 08:47:50 +02:00
Frank Celler cb05777f32 added @include 2016-06-09 15:28:27 +02:00
Frank Celler a92d566234 added database.init-database 2016-06-08 21:40:21 +02:00
Frank Celler 69e254d28a trying to fix cleanup 2016-06-06 23:53:53 +02:00
Frank Celler 3798221f7c fixed progation of kill 2016-06-06 17:08:37 +00:00
Frank Celler 16c6c2087d added unprepare 2016-06-06 18:27:51 +02:00
Wilfried Goesgens 82408d7d93 one more function to publish 2016-06-03 16:39:45 +02:00
Wilfried Goesgens 95ecce437f fix publish 2016-06-03 16:35:54 +02:00
Wilfried Goesgens 6ffc619eee Publish variables 2016-06-03 16:34:10 +02:00
Wilfried Goesgens 2a06316ae6 Add servicemain back. 2016-06-03 16:28:12 +02:00
Wilfried Goesgens f4e44261ae start StartServiceCtrlDispatcher on time. 2016-06-03 15:50:30 +02:00
Wilfried Goesgens 093e9ce685 Windows doesn't know howto do polymorphism. 2016-06-03 14:43:56 +02:00
Wilfried Goesgens 8eb5bda729 Also notify the windows service facilities if we go down unexpectedly. 2016-06-03 14:30:33 +02:00
Wilfried Goesgens 8502bfa4d3 Refactor windows service infrastructure 2016-06-02 18:30:23 +02:00
Frank Celler 54300ed30c moved Console/ClientFeature to arangosh 2016-06-01 09:27:29 +02:00
jsteemann fd1e7f0944 friendlier error message when using a renamed option 2016-05-25 21:45:53 +02:00
jsteemann d2a9f9a2c8 less verbosity 2016-05-11 21:02:38 +02:00
Frank Celler bf16086623 moved SSL files into separate directory 2016-05-11 16:34:03 +02:00
jsteemann 0ce8599598 fixes for MSVC 2016-05-10 19:01:21 +02:00
Jan Steemann 4f138ce0f1 fixed handling of feature startup failures 2016-05-10 12:28:25 +02:00
Frank Celler 867f186270 added server.uid as alias for uid 2016-05-04 19:03:07 +02:00
jsteemann 7ab35e3c35 fixed arangodump 2016-04-30 15:54:40 +02:00
Frank Celler bc503c19c7 fixed wrong order 2016-04-28 19:28:04 +02:00
Frank Celler 6248f419f1 progress report and windows minidump 2016-04-28 18:59:13 +02:00
jsteemann b8ba262a10 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-04-27 22:54:38 +02:00
jsteemann cd45a52ba5 attempt to finish startup order 2016-04-27 22:54:29 +02:00
Frank Celler 19720b166d script and unittests are features 2016-04-27 22:28:21 +02:00
jsteemann a3fdda19af Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-04-27 19:17:19 +02:00
Frank Celler 7b83374c65 check ApplicationServer state 2016-04-27 18:01:36 +02:00
jsteemann 9181570779 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-04-27 17:49:44 +02:00
jsteemann 2a527c7a22 move features up during startup 2016-04-27 17:49:35 +02:00
Frank Celler cda3d3f75a fixed MYPID 2016-04-27 17:46:25 +02:00
jsteemann bfd6fa833d disallow thread creation until ApplicationServer::start() 2016-04-27 16:17:46 +02:00
jsteemann 22a1c0bb08 use method 2016-04-27 13:08:24 +02:00
jsteemann 7472aca387 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-04-27 12:17:53 +02:00
Frank Celler 4d66f69fb3 added --uid and --gid 2016-04-27 12:08:16 +02:00
jsteemann d62143ce83 make boolean command-line parameters optional 2016-04-27 11:37:42 +02:00
jsteemann 0d01f5d5f0 better diagnose cyclic feature dependencies 2016-04-26 23:30:30 +02:00
jsteemann 4b7e0a72d0 moved --version into a feature of its own 2016-04-24 18:42:59 +02:00
jsteemann dcc5825f93 cleaned up features a bit 2016-04-24 14:29:29 +02:00
Frank Celler 481f342385 merge fixes 2016-04-23 19:02:21 -07:00
Frank Celler d6e8046992 updated cleanupCFiles 2016-04-23 16:34:57 -07:00
jsteemann 3570ecf91c nicer program options 2016-04-23 21:28:40 +02:00
Jan Steemann 104e8e8b9b remove ArangoServer.h remainders 2016-04-22 20:18:28 +02:00
Jan Steemann 7d6994862e fixed startup/shutdown with specific features 2016-04-22 14:44:42 +02:00
Frank Celler 5335a5b0af moved to Random 2016-04-21 22:53:20 -07:00
Frank Celler ac3a9883b9 restored log buffer feature 2016-04-21 21:07:23 -07:00
Jan Steemann 08a4ef99e2 fixed wording 2016-04-21 19:11:21 +02:00
Jan Steemann 09d52172ca re-added "--help-all" 2016-04-21 19:03:38 +02:00
Jan Steemann a713b625ae fix compiler warning 2016-04-18 15:22:48 +02:00
Frank Celler 9d26ab1bbc WIP 2016-04-16 17:39:20 -07:00
Frank Celler 2dd798cd48 WIP 2016-04-15 22:09:55 -07:00
Frank Celler dd44191a91 WIP 2016-04-15 21:03:53 -07:00
Frank Celler cd91d3654e Merge remote-tracking branch 'origin' into FMH 2016-04-15 19:01:38 -07:00
Frank Celler 8254bd4bd6 WIP 2016-04-14 21:32:12 -07:00
Frank Celler b2b5fbb62d WIP 2016-04-14 14:02:07 -07:00
Frank Celler 3f9dd62d4c WIP 2016-04-13 12:30:18 +02:00
Frank Celler dc3e8e6bdb WIP 2016-04-12 20:27:46 +02:00
Frank Celler 922753ef3d WIP 2016-04-11 17:44:41 +02:00
Frank Celler 3d2cc31306 WIP 2016-04-11 00:05:37 +02:00
Frank Celler 1b7c47c6bc added --console 2016-04-10 13:47:53 +02:00
Frank Celler 58b9cf7e91 WIP 2016-04-07 15:40:11 +02:00
Frank Celler 6002ede1c4 Merge branch 'devel' of github.com:arangodb/arangodb into FMH 2016-04-03 21:46:30 +02:00
Frank Celler f2134fc0a0 WIP 2016-04-03 20:19:12 +02:00
Frank Celler 8e43499b91 WIP 2016-04-03 20:19:10 +02:00
Frank Celler e83c1f09b4 WIP 2016-04-02 23:41:21 +02:00
Frank Celler 873f226b5f added SchedulerFeature 2016-04-01 12:52:28 +02:00
Frank Celler 494bdca847 splitted HttpRequest into GeneralRequest/HttpRequest 2016-03-31 11:45:21 +02:00
Frank Celler 02c7db250e added supervisor 2016-03-26 21:12:39 +01:00
Frank Celler ca53fb652e added options and validate for DaemonFeature 2016-03-25 22:59:06 +01:00
Frank Celler af00417cf4 skeleton arangod 2016-03-25 15:14:43 +01:00
Kaveh Vahedipour 1bdfe53ec2 Agency write sensitive to X-ArangoDB-Agency-Mode 2016-03-24 14:14:33 +01:00
Frank Celler 44996507a0 added --log.foreground-tty 2016-03-23 00:01:07 +01:00
Frank Celler 3642dd2db8 added log rotate 2016-03-22 23:49:15 +01:00
Frank Celler e293447e25 added tty logger 2016-03-22 23:38:30 +01:00
Frank Celler 86fe838a68 new logger 2016-03-22 21:09:48 +01:00
Frank Celler 4e4b62cdf0 fixed missing global section 2016-03-21 16:39:53 +01:00
Frank Celler 6eaa42db20 added --version 2016-03-21 16:38:46 +01:00
Frank Celler 4f88e85562 fixed hidden option handling 2016-03-21 16:37:59 +01:00
Frank Celler aad92ba3b6 added missig cygwin test 2016-03-20 13:53:04 +00:00
Frank Celler 6d19bdbbfe Merge branch 'devel' of github.com:arangodb/arangodb into v8 2016-03-18 09:50:20 +01:00
Frank Celler 3afba799be added missing section 2016-03-17 22:59:01 +01:00
jsteemann a9ab4eaace Merge branch 'devel' of https://github.com/arangodb/arangodb into v8 2016-03-17 21:13:21 +01:00
jsteemann 9fda52ab9c initialize array buffer allocator differently 2016-03-17 10:53:32 +01:00
Frank Celler abc7d6b84b added missing global section 2016-03-16 09:26:33 +01:00
Frank Celler 53749a8e6d renamed feature 2016-03-15 22:15:25 +01:00
Frank Celler c77b919bb7 added intensity 2016-03-14 19:00:46 +01:00
Frank Celler 46b702b2cb fixed colors 2016-03-10 22:59:51 +00:00
Frank Celler ab6224e2ae cleanup 2016-03-10 23:02:59 +01:00
Frank Celler f4335d4a7e fixed color output 2016-03-10 21:56:29 +00:00
Frank Celler 6dbb6ceb03 changed newline for windows 2016-03-10 14:22:26 +00:00
Frank Celler e68fa98154 fixed colors 2016-03-10 12:05:44 +00:00
Frank Celler dd36dd55e6 fixes for windows 2016-03-10 09:25:54 +00:00
Frank Celler 8632644886 removed warning 2016-03-09 10:57:14 +01:00
Frank Celler dfa9047484 switch arangosh to new ApplicationFeatures and ProgramOptions 2016-03-08 23:32:43 +01:00
Frank Celler 4d996bd189 added new program options and application features 2016-02-25 10:21:09 +01:00