1
0
Fork 0
Commit Graph

665 Commits

Author SHA1 Message Date
Jan Steemann 8b4b6a1943 moved docu blocks into their own files 2016-01-07 16:03:17 +01:00
Jan Steemann 3ad20c0cae auto-generated headers 2016-01-06 18:41:51 +01:00
Jan Steemann a3b026d9d1 removed useless sections from code, unified include guards 2016-01-06 14:15:22 +01:00
Jan Steemann f422576ee0 clang-format 2016-01-05 17:43:24 +01:00
jsteemann a6cb463e06 Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2016-01-05 00:25:10 +01:00
Frank Celler 1065a1bd2c added work monitor 2016-01-04 15:33:06 +01:00
Max Neunhoeffer 3996d2e6a2 Merge branch 'devel' into vpack 2015-12-23 08:35:59 +01:00
jsteemann 2d4f41b422 slightly updated documentation 2015-12-22 22:30:57 +01:00
Max Neunhoeffer 225c8cd843 Work on TODOs. 2015-12-22 16:50:09 +01:00
Alan Plum 8853ede355 org/arangodb -> @arangodb 2015-12-15 15:51:44 +01:00
Wilfried Goesgens 5ea0fe49b1 Multi -purpose- -> model 2015-12-11 18:22:23 +01:00
Jan Steemann 9dd164eadc fix cluster upgrade 2015-12-07 11:57:46 +01:00
Michael Hackstein 430eb2fd07 First version of CXX RestEdgesHandler. Required for early filtering in Cluster Traversals 2015-11-24 10:23:35 +01:00
Jan Steemann e321c9747a added option `--server.hide-product-header` 2015-11-10 10:27:59 +01:00
Jan Steemann 2a7430e5e8 minor fixes for replication 2015-11-05 12:51:19 +01:00
Jan Steemann ad133ea862 turn off replication applier when starting with --no-server 2015-11-04 12:22:02 +01:00
Jan Steemann 9d94792140 disable replication applier when running with `--upgrade` and `--check-version` 2015-11-04 09:56:37 +01:00
Frank Celler 4b99be0c30 added --enable-console to configure 2015-10-25 19:59:16 +01:00
jsteemann adebf6e7c9 removed some iostream includes 2015-10-12 21:40:46 +02:00
Jan Steemann 14a2df7684 simplified startup phase w/ options parsing and feature initialization 2015-10-09 15:25:26 +02:00
Frank Celler fcda8c59ff fixed statistics 2015-10-09 13:51:33 +02:00
Frank Celler 8849e184ca fixed default language 2015-10-07 09:47:17 +02:00
jsteemann 22e17814e3 additionally allow the following characters in document keys:
`(` `)` `+` `,` `=` `;` `$` `!` `*` `'` `%`
2015-09-15 00:16:08 +02:00
Frank Celler 3439838b44 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-09-09 14:49:42 +02:00
Frank Celler 3734a754b9 handle CTRL-C in console thread 2015-09-09 14:49:08 +02:00
Jan Steemann 0735277830 removed IndexWatermarks again... not needed 2015-09-09 14:22:58 +02:00
Jan Steemann 0404cb098f temporarily disable watermarks 2015-09-07 11:08:22 +02:00
Jan Steemann b9c8972477 index watermarks preparations 2015-09-04 18:14:39 +02:00
CoDEmanX 3a9648d78a More Americanization 2015-09-03 22:25:43 +02:00
Jan Steemann 0e454b7a3e abort startup when wrong alignment is detected 2015-09-03 15:10:48 +02:00
Jan Steemann 282e13afb4 preparation for index watermarks 2015-09-02 16:24:14 +02:00
Jan Steemann c91c13e08b test of ARM detection 2015-09-02 13:33:17 +02:00
CoDEmanX 956b396e43 Change spelling of 'initialize' to American English (actual code and files) 2015-09-01 17:29:22 +02:00
CoDEmanX b4593a7e82 Change spelling of 'initialize' to American English (comments and log messages only) 2015-09-01 17:07:21 +02:00
Jan Steemann 2b6de5143b removed unused include 2015-08-27 11:17:07 +02:00
Frank Celler 2d45445a10 added additional-threads option 2015-08-26 13:13:47 +02:00
Jan Steemann 5bf32095a1 print abortion 2015-08-26 12:02:43 +02:00
Jan Steemann 1be3733a64 moved some handlers around
fix disappeared handlers
2015-08-20 01:26:52 +02:00
Max Neunhoeffer ff135a10ad Add some overrides to silence a clang compiler warning. 2015-08-19 14:46:06 +02:00
Jan Steemann 9f0384284f moved files 2015-08-19 11:19:37 +02:00
Jan Steemann 4e771b2728 replication improvements 2015-08-17 18:41:05 +02:00
Willi Goesgens 662b3e76c7 Unify the usage of docublocks for the foxx-queues 2015-08-13 15:44:38 +02:00
Jan Steemann e62974240b allow termination of current shell command 2015-08-12 21:39:16 +02:00
Frank Celler 4a9d775061 cleanup 2015-08-12 17:54:15 +02:00
Frank Celler 9de6bd39db moved to strings, fixed #1432: arangosh doesn't ignore prefixed ....> on paste 2015-08-12 17:54:14 +02:00
Jan Steemann 580c15639f Merge branch 'devel' of https://github.com/arangodb/arangodb into collection-not-loaded
Conflicts:
	CHANGELOG
2015-08-11 12:34:31 +02:00
Jan Steemann 434d6167db added configuration option `--database.throw-collection-not-loaded-error` 2015-08-11 12:31:42 +02:00
Frank Celler 3029891405 added better readline support for control-C 2015-08-11 12:05:55 +02:00
Jan Steemann 87241aa732 log logfiles location on startup 2015-08-06 12:47:24 +02:00
Jan Steemann e9f2c1eba8 references 2015-08-04 16:26:48 +02:00
Jan Steemann a84e6f7236 fixed compile error 2015-08-04 14:34:00 +02:00
Max Neunhoeffer 5b4eeb4dae Silence a visual studio warning. 2015-08-04 14:29:59 +02:00
Frank Celler 35a3c6421c moved dispatcher to atomic 2015-07-23 15:40:34 +02:00
Jan Steemann dd03c03216 honor --server.disable-statistics for statistics aggregator thread 2015-07-21 19:20:37 +02:00
Jan Steemann 38cdc662ec removed configure options `--enable-timing` and `--enable-figures` 2015-07-21 18:47:43 +02:00
Jan Steemann e8205e5dc0 use new and delete for TRI_server_t 2015-07-21 11:57:04 +02:00
Jan Steemann 124fe7a34c use new/delete for TRI_vocbase_t 2015-07-20 12:08:13 +02:00
Frank Celler d64ce2ddce changed to uint64_t for program options 2015-07-13 14:23:33 +02:00
Jan Steemann c71dc4d9bb Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-query-cache 2015-07-13 10:49:14 +02:00
Willi Goesgens 8002e9df18 This windows specific file needs iostream too. 2015-07-08 10:25:36 +02:00
Willi Goesgens bd7aa7c305 Remove the global include to iostream; this reduces the compile time by 10%
( http://herbsutter.com/2013/08/19/gotw-7a-solution-minimizing-compile-time-dependencies-part-1/  for inspiration)
2015-07-07 12:11:21 +02:00
Jan Steemann 1f5e047486 query cache, now with result limitations, HTTP and JavaScript APIs 2015-06-27 01:12:32 +02:00
Jan Steemann e3a15227ce query cache for AQL queries. no invalidation yet, so results will be wrong when underlying collections are changed 2015-06-23 18:42:58 +02:00
Jan Steemann 83b326cfc7 moved PUT /_api/simple/all to C++ 2015-06-18 15:34:45 +02:00
Alan Plum 1210ee8858 Removed Foxx queue exports warmup workaround. 2015-06-16 15:59:26 +02:00
Alan Plum a7a1ca2e00 More fixing of the queues. 2015-06-10 14:17:33 +02:00
Alan Plum ddf39db6c8 Pre-load Foxx exports on start and smarter queue sleep. 2015-06-10 14:17:33 +02:00
Jan Steemann a6b2998b5d added try...catch blocks for V8-to-CPP bindings 2015-06-08 16:04:42 +02:00
Jan Steemann b76cb5caee use nullptr 2015-06-02 23:39:41 +02:00
Jan Steemann a7448815bf fix Visual Studio complaints 2015-06-01 09:42:51 +02:00
Max Neunhoeffer 33dec8806b added 3=scheduler, 4=dispatcher 2015-05-28 13:48:02 +00:00
Frank Celler c2db22e379 linux processor affinity 2015-05-28 14:51:32 +02:00
Frank Celler f5f8afea22 added empty affinity implementation 2015-05-28 13:51:34 +02:00
Jan Steemann a9f2769ffa now compiles and links 2015-05-23 04:31:13 +02:00
Jan Steemann 892127d9a2 extended dfdb capabilities, updated dfdb manual section 2015-05-21 15:26:12 +02:00
Jan Steemann 3c0660cfe3 documented `--server.session-timeout` 2015-05-20 17:16:35 +02:00
Jan Steemann 479ed9ec10 disable MVCC-specific warning about debug information too long 2015-05-20 16:12:02 +02:00
Jan Steemann 688b21fe51 fixed namespaces 2015-05-20 15:49:39 +02:00
Jan Steemann b14d2470ab added `--server.session-timeout` 2015-05-20 15:22:03 +02:00
Jan Steemann d715ba6707 clear sid cache when dropping a database 2015-05-20 13:51:59 +02:00
Jan Steemann 343c9b4bea added static helper methods for cluster state 2015-05-20 13:51:02 +02:00
Jan Steemann e2b2fab797 added startup options `--server.foxx-queues-poll-interval`, `--server.foxx-queues-system-only` 2015-05-20 00:29:49 +02:00
Jan Steemann db926a4057 store sessions in database-specific container 2015-05-19 15:41:15 +02:00
Jan Steemann 27f41c9dea cast for VS 2015-05-08 09:53:00 +02:00
Frank Celler 154b94c105 added internal support for SID 2015-05-07 15:54:57 +02:00
Jan Steemann 2763196081 formatting 2015-05-06 15:35:15 +02:00
Jan Steemann 244cc2d66d added some batch processing methods 2015-05-04 17:46:47 +02:00
Jan Steemann f7ade5e7fe nullptr 2015-04-30 23:48:52 +02:00
Jan Steemann 0099fe260a return value optimization for AQL 2015-04-30 23:38:27 +02:00
Max Neunhoeffer 686f67024e Add a second DispatcherQueue for AQL in the cluster. 2015-04-29 21:02:06 -07:00
Jan Steemann 931c26fea3 read .arangod.rc on server start if it exists 2015-04-03 16:00:57 +02:00
Jan Steemann 6dfb4d4b09 Merge branch 'devel' of https://github.com/arangodb/arangodb into cursor-refactoring
Conflicts:
	arangod/Aql/ExecutionBlock.cpp
	lib/HttpServer/HttpHandler.cpp
	lib/HttpServer/HttpServerJob.h
2015-03-31 15:13:31 +02:00
Frank Celler ffbc45d2e2 new HttpServer & HttpCommTask
Conflicts:
	Makefile.in
	arangod/Aql/RestAqlHandler.cpp
	arangod/Aql/grammar.cpp
	arangod/Cluster/RestShardHandler.cpp
	lib/GeneralServer/GeneralServer.h
	lib/GeneralServer/GeneralServerDispatcher.h
	lib/HttpServer/HttpServerJob.h
	lib/HttpServer/HttpsCommTask.h
	lib/SimpleHttpClient/SslClientConnection.cpp
2015-03-31 09:12:01 +02:00
Jan Steemann e672d791b5 refactored cursor API, added export API 2015-03-30 18:03:42 +02:00
Jan Steemann 80a99ab23e refactored cursor API 2015-03-30 14:58:51 +02:00
Jan Steemann 3ac535bb69 fixed startup 2015-03-27 18:33:05 +01:00
Jan Steemann 9c3419fda3 fixed extern type 2015-03-27 17:09:17 +01:00
Jan Steemann 6957de23d2 fixed name qualification 2015-03-27 17:06:58 +01:00
Jan Steemann 960b464c57 issue #1054: add info whether server is running in service or user mode? 2015-03-27 16:49:47 +01:00
Jan Steemann c352ba6a03 small logging refactoring 2015-03-26 03:09:07 +01:00
Frank Celler 3c52dcde6d changed _api/query to C++
Conflicts:
	CHANGELOG
	Makefile.in
	README
	arangod/RestServer/ArangoServer.cpp
2015-03-23 10:51:14 +01:00
Jan Steemann 85308fa7f3 removed remainder of development mode 2015-03-19 10:33:31 +01:00
Willi Goesgens 023d880b5f When uninstalling windows services we need to compare the whole command string. 2015-03-18 19:12:58 +01:00
Frank Celler 8697e2758d initialize path after drop privileges
Conflicts:
	arangod/RestServer/ArangoServer.cpp
2015-03-18 17:47:28 +01:00
Jan Steemann ac37515a7a updated documentation 2015-03-18 17:46:26 +01:00
Jan Steemann 6360c798e7 added option `--database.ignore-logfile-errors`
Conflicts:
	arangod/RestServer/ArangoServer.cpp
2015-03-18 17:46:11 +01:00
Willi Goesgens 92389a33b2 Finalize our own service control infrastructure. 2015-03-17 15:00:08 +01:00
Willi Goesgens 67494ea108 Add the contents of the ICU_DATA environment to the fatal error message. 2015-03-17 13:20:55 +01:00
Willi Goesgens bdcaf810fe Add more start checkpoints, initial windows service control things 2015-03-17 13:11:51 +01:00
Willi Goesgens 1474249a08 Startup / Shutdown: add hooks to properly emit this state to the windows service control manager 2015-03-16 14:22:28 +01:00
Willi Goesgens a33dfcb591 Move windows service functionality into its own .cpp file to have a better overview. 2015-03-16 13:17:35 +01:00
Jan Steemann ce0a543d25 added flag for disabling query tracking `--database.disable-query-tracking`
Conflicts:
	arangod/RestServer/ArangoServer.cpp

Conflicts:
	Documentation/Books/Users/ConfigureArango/Arangod.mdpp
	arangod/RestServer/ArangoServer.cpp
2015-03-13 13:51:23 +01:00
Frank Celler 0687e4e080 removed registry entry, using relative path to binary instead 2015-03-08 20:06:18 +01:00
Jan Steemann bc4ad22ab6 parallel secondary index building when loading collections 2015-03-03 10:52:51 +01:00
Jan Steemann 0ba8e6e626 fixed Windows compile errors 2015-02-24 15:32:04 +01:00
Willi Goesgens 7b3a165d8e Windows: more desparetely try to get the bad news to the user on a crash. 2015-02-24 13:11:23 +01:00
Willi Goesgens eb3f383f93 On windows log backtrace rather then printing it; it doesn't seem to end up where we expect it. 2015-02-24 10:35:33 +01:00
Jan Steemann 83ea75fa8f removed unused config options 2015-02-18 16:40:15 +01:00
Willi Goesgens ea76accb72 Set the unhandled exception handler in windows, so we can catch crashes. 2015-02-17 15:42:33 +01:00
Willi Goesgens da5f86f16b Windows service deletion - only remove the service entry if it matches our binary path. 2015-02-13 16:21:35 +01:00
Willi Goesgens 154882ae5f Add signal handler. 2015-02-13 14:44:21 +01:00
Willi Goesgens df226e5a82 - install SIG11 handler which prints backtrace to the console. (in windows we don't get cores)
- fix exit handling for windows process control.
2015-02-13 14:11:15 +01:00
Jan Steemann 3ffdfe0756 authentication realm 2015-02-13 10:12:35 +01:00
Max Neunhoeffer 134aa7fce8 Add breakpoint facility via console for JavaScript code in server. 2015-02-07 21:34:20 +01:00
Jan Steemann d06c3c1ff3 changed "file names" of anonymous commands 2015-02-03 12:46:34 +01:00
Frank Celler a03ce44254 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2015-01-29 15:21:21 +01:00
Frank Celler 7aa4591678 arangod/Aql/Expression.cpp 2015-01-29 15:21:14 +01:00
Jan Steemann 39d72b1530 more sanity checks on startup & shutdown 2015-01-29 09:51:11 +01:00
Willi Goesgens b4ba07f765 If arangod doesn't successfully initialise ICU on startup it will now abort. 2015-01-28 17:32:59 +01:00
Jan Steemann 0d8bf44215 gc adjustment 2015-01-23 20:51:42 +01:00
Jan Steemann 5d12a3da3b garbage collection 2015-01-23 16:45:00 +01:00
Jan Steemann 5e48769311 fixed crash on test shutdown 2015-01-09 14:12:24 +01:00
Willi Goesgens a145d2bd9d Ups, if we don't throw but break, we mustn't leave the context twice. 2015-01-08 18:18:46 +01:00
Willi Goesgens aa1cdc09e2 Make shure we leave all contexts we open in the propper sequence. 2015-01-08 17:53:13 +01:00
Jan Steemann 20e7fe7a7a the great rename: array => object, list => array 2014-12-18 21:07:06 +01:00
Willi Goesgens 1c4a72b106 The Big V8 upgrade Merge. 2014-12-15 17:30:56 +01:00
Jan Steemann 1ae150d90a control number of v8 contexts independently from number of server threads
added command-line option `--javascript.v8-contexts` to control the number of
V8 contexts created in arangod.

Previously, the number of V8 contexts was equal to the number of server threads
(as specified by option `--server.threads`). However, it may be sensible to
create different amounts of threads and V8 contexts. If the option is not
specified, the number of V8 contexts created will be equal to the number of
server threads. Thus no change in configuration is required to keep the old
behavior.
2014-11-01 21:02:00 +01:00
Jan Steemann d3c945d1d3 fixes for Visual Studio 2014-10-28 11:02:05 +01:00
Jan Steemann 13d240384f less namespace pollution 2014-10-28 00:24:37 +01:00
Jan Steemann ccf7e4f131 mini cleanup 2014-10-27 22:47:36 +01:00
Jan Steemann 612abc6a20 less throwing in destructors 2014-10-23 10:18:30 +02:00
Frank Celler 05c6b645df fixed authentication 2014-10-20 09:29:57 +02:00
Jan Steemann 40ddb93eee flush log at shutdown 2014-10-18 00:44:44 +02:00
Max Neunhoeffer 183cd3eb40 Sort out temporary directory creation with individual names. 2014-10-16 20:08:21 +02:00
Jan Steemann 1bf7fbde25 helgrind 2014-10-15 17:55:14 +02:00
Jan Steemann e28ad821b0 fixed spuriously occurring "database not found" error 2014-10-02 15:34:38 +02:00
Jan Steemann 0d075dca3f pass queryRegistry into the AQL functions 2014-09-29 09:30:32 +02:00
Max Neunhoeffer bfc8b14a87 More HTTP methods for queries. Expire queries. 2014-09-24 16:51:35 +02:00
Jan Steemann 38fdaa4066 removed unused function parameter 2014-09-19 20:28:41 +02:00
Max Neunhoeffer 697dc64b58 Add a QueryRegistry in the ArangoServer and hand it on. 2014-09-19 13:56:46 +02:00