1
0
Fork 0
Commit Graph

2850 Commits

Author SHA1 Message Date
Jan Steemann 589e67357f issue #1434: return more meaningful error message from org/arangodb/general-graph::_fromVertex() 2015-08-12 21:36:27 +02:00
Jan Steemann f6f10dbd45 removed uncalled functions 2015-08-12 19:46:25 +02:00
Frank Celler 9568808b7a new ShellImplementation 2015-08-12 18:04:57 +02:00
Frank Celler f0c2c0e6c4 fixed DummyShell 2015-08-12 17:54:15 +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 f1c5480e97 small cleanup 2015-08-12 15:01:33 +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 a61f5bcd12 display number of file descriptors at startup 2015-08-11 12:32:16 +02:00
Frank Celler 3029891405 added better readline support for control-C 2015-08-11 12:05:55 +02:00
Jan Steemann e642ce972f throw error if collection not yet loaded 2015-08-10 17:08:41 +02:00
Max Neunhoeffer a851b5a69d Rename ThreadProtector to DataProtector. 2015-08-10 09:54:29 +02:00
Jan Steemann 5d82f0b385 some cleanup 2015-08-07 15:16:33 +02:00
Jan Steemann 68d58248da allow non-const access to string-buffer 2015-08-07 13:29:38 +02:00
Jan Steemann da38382202 remove CONST_CAST helper 2015-08-07 13:18:21 +02:00
Jan Steemann 925218ca20 delay supervisor startup 2015-08-07 12:58:25 +02:00
Jan Steemann 9778bc16fd fix Visual Studio compile errors 2015-08-07 11:07:56 +02:00
Max Neunhoeffer 5472655ca7 Untemplatify ThreadProtector for those with gcc < 4.9.2.
We will revert this later once everybody has gcc >= 4.9.2.
2015-08-07 10:20:31 +02:00
Jan Steemann 330fac6225 some unused function cleanup 2015-08-06 21:25:32 +02:00
Max Neunhoeffer 0931e1aef8 Improve the explanation of ThreadProtectors. 2015-08-06 13:18:25 +02:00
Max Neunhoeffer dbaddd5a1a Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2015-08-06 13:03:58 +02:00
Max Neunhoeffer e197e02b5b Replace DataGuardian by ThreadProtector. 2015-08-06 13:03:37 +02:00
Jan Steemann f8f2f8f9ae provide more information on arangod startup and shutdown in supervisor mode 2015-08-06 13:01:01 +02:00
Jan Steemann 87241aa732 log logfiles location on startup 2015-08-06 12:47:24 +02:00
Jan Steemann 2a88c76e0e fix parallel insertion 2015-08-05 15:16:07 +02:00
Jan Steemann 472a0c76b1 do not read over the end of Buffer objects 2015-08-04 19:02:14 +02:00
Jan Steemann 342e44c374 removed tabs 2015-08-04 14:32:37 +02:00
Jan Steemann c0e26e7a78 handle UBool result type correctly 2015-08-04 12:21:34 +02:00
Jan Steemann 35529ffd61 make more environment data available in --version 2015-08-04 11:21:50 +02:00
Jan Steemann 7a3d49be88 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-08-04 10:30:28 +02:00
Jan Steemann 0400737ae4 some flock diagnostics 2015-08-04 09:57:28 +02:00
Jan Steemann 0f1ce26e41 added function to create an ICU RegexMatcher 2015-08-03 23:57:26 +02:00
Jan Steemann 38227a81f8 speed up initial edge index creation 2015-08-03 18:27:50 +02:00
Jan Steemann 53d5c3686e fixed method signatures 2015-08-03 11:25:35 +02:00
Jan Steemann d750edc9f9 nullptr 2015-08-03 10:59:15 +02:00
Jan Steemann 7ad99087ee use unique_ptr 2015-08-03 09:18:20 +02:00
Jan Steemann 8b8d92a18c rearrange lock structs 2015-07-31 20:02:06 +02:00
Jan Steemann 9f517db24c don't copy size restrictions 2015-07-31 18:28:13 +02:00
Jan Steemann ec3ccd31ba split lock 2015-07-31 16:44:42 +02:00
Max Neunhoeffer eb011a0438 Use poll rather than epoll on Linux. 2015-07-31 15:11:32 +02:00
Jan Steemann 8fbf3894cd renamed 2015-07-31 14:56:52 +02:00
Jan Steemann 23f8f2f86b nullptr 2015-07-30 22:43:02 +02:00
Jan Steemann 91e2497bcb use unordered_map 2015-07-30 20:45:35 +02:00
Jan Steemann f7ed62b04c hold locks for shorter periods in ConnectionManager 2015-07-30 20:03:23 +02:00
Jan Steemann 7f96c01d7b pacify Valgrind 2015-07-30 20:03:08 +02:00
Max Neunhoeffer 24eb98ed49 Fix select-related bug for cluster if file descriptors become to large.
Solution: Use epoll on Linux in SimpleHttpClient.
2015-07-30 15:21:56 +02:00
Jan Steemann 58d5da206d validate file descriptors against FD_SETSIZE 2015-07-30 13:59:57 +02:00
Jan Steemann 6d4395059b use lock guards 2015-07-29 15:15:49 +02:00
Jan Steemann 326f0dba6e removed some unused code 2015-07-29 13:50:18 +02:00
Jan Steemann 454a6c998c Merge branch 'devel' of https://github.com/arangodb/arangodb into shaper-cxx 2015-07-28 17:38:48 +02:00
Jan Steemann 6d7ccd7699 move shaper to cxx 2015-07-28 17:38:31 +02:00
Michael Hackstein 412394ff3c Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-07-28 13:22:01 +02:00
Michael Hackstein 25f7b25206 Fixed failing failure-tests 2015-07-28 13:21:54 +02:00
Jan Steemann bef83a7fbb Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-07-28 11:45:11 +02:00
Jan Steemann cdfdec9244 save some overhead when walking plans 2015-07-28 11:44:34 +02:00
Jan Steemann 3d3024a54e cppcheck 2015-07-28 09:51:24 +02:00
Jan Steemann 7f24ca0a21 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-07-27 16:25:13 +02:00
Jan Steemann 7e4b615248 simplify call to mmap 2015-07-27 16:24:25 +02:00
Frank Celler dc82cf3a65 delete jobs after deleting all threads 2015-07-27 13:08:56 +02:00
Max Neunhoeffer c4e8e4aea6 Improve sleeping times for dispatcher threads. 2015-07-24 14:37:17 +00:00
Jan Steemann 38b2d6caea Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-07-24 13:21:49 +02:00
Jan Steemann 4ae6b54183 fixed compiler warning 2015-07-24 13:20:08 +02:00
Frank Celler f96ab73745 Merge branch 'dispatcher' of github.com:arangodb/arangodb into devel 2015-07-24 11:32:22 +02:00
Frank Celler 33d702c190 ignore died process on delete 2015-07-24 09:30:26 +00:00
Frank Celler 8052ccf4c4 small grace 2015-07-24 09:23:34 +00:00
Frank Celler e7324b09fd better dispatcher wait 2015-07-24 08:53:37 +00:00
Michael Hackstein 9cc0554346 Merge branch 'fasterNeighbors' into devel 2015-07-24 10:25:00 +02:00
Michael Hackstein 4997491dea Memleak fixes provided by @jsteemann 2015-07-24 10:22:57 +02:00
Frank Celler 647ce78293 removed unused variable 2015-07-23 22:44:52 +02:00
Frank Celler 4d04f29575 added safe guard for too many threads 2015-07-23 18:09:30 +02:00
Frank Celler 23e1cd53fc fixed shutdown 2015-07-23 17:50:09 +02:00
Max Neunhoeffer 91673241b6 No lock for signal. Better startup of new threads. 2015-07-23 14:44:24 +00:00
Max Neunhoeffer d95d4edbca Fix bug with numeric queue ids. 2015-07-23 14:43:33 +00:00
Frank Celler 4dccc6a8dc Merge branch 'devel' of github.com:arangodb/arangodb into dispatcher 2015-07-23 15:41:05 +02:00
Frank Celler 35a3c6421c moved dispatcher to atomic 2015-07-23 15:40:34 +02:00
Max Neunhoeffer 68a5f3a131 Add one more comment. 2015-07-23 14:46:25 +02:00
Max Neunhoeffer 395e920825 Add a few more comments. 2015-07-23 14:44:58 +02:00
Max Neunhoeffer b76526e4f0 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2015-07-23 14:23:24 +02:00
Max Neunhoeffer 350da2c910 Add a data guardian implementation (lock-free using hazard pointers). 2015-07-23 14:23:04 +02:00
Jan Steemann 8ba04250d9 fix compiler warnings 2015-07-23 10:27:09 +02:00
Jan Steemann d6e7655c53 Windows 2015-07-22 14:52:16 +02:00
Max Neunhoeffer c3c1c3242f Add TRI_DEFER. 2015-07-22 10:29:13 +02:00
Jan Steemann dd03c03216 honor --server.disable-statistics for statistics aggregator thread 2015-07-21 19:20:37 +02:00
Jan Steemann abf69329e2 casts for Windows 2015-07-21 18:57:56 +02:00
Jan Steemann 38cdc662ec removed configure options `--enable-timing` and `--enable-figures` 2015-07-21 18:47:43 +02:00
Jan Steemann 20c96b5e46 removed locks 2015-07-21 17:34:57 +02:00
Jan Steemann 97094b8f74 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-07-21 14:08:22 +02:00
Jan Steemann 123a76089f removed JobType, special jobs and monopolizer 2015-07-21 14:07:53 +02:00
Frank Celler 556a393862 added separate statistics thread 2015-07-21 13:19:52 +02:00
Jan Steemann 09736f965f more lock instrumentation 2015-07-21 13:09:02 +02:00
Jan Steemann 4ff93e8bdc slight cleanup 2015-07-20 19:10:30 +02:00
Jan Steemann d33e95d452 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-07-20 18:42:14 +02:00
Jan Steemann 4d0872f2b9 more cxx 2015-07-20 18:42:02 +02:00
Frank Celler 9b95e08765 cleanup of member names 2015-07-20 17:40:13 +02:00
Jan Steemann 124fe7a34c use new/delete for TRI_vocbase_t 2015-07-20 12:08:13 +02:00
Jan Steemann a5db59cc47 remove some locks in HttpServer and friends 2015-07-17 17:48:45 +02:00
Jan Steemann dd8a392294 fix undefinedness 2015-07-17 13:56:41 +02:00
Jan Steemann c54b5a6ba8 renamed file 2015-07-16 21:06:29 +02:00
Jan Steemann efb68a2e6c added boost::lockfree and removed mutex in statistics 2015-07-16 20:24:58 +02:00
Jan Steemann a51765b3cf directly exit in case read buffer only contains a few bytes 2015-07-16 20:20:20 +02:00
Jan Steemann 7635d77a35 change default interval for scheduler-reporter 2015-07-16 17:34:36 +02:00
Jan Steemann 4bc188422a cppcheck 2015-07-15 22:13:42 +02:00
Jan Steemann 1428af9e49 remove useless header inclusions 2015-07-15 21:47:50 +02:00
Jan Steemann 21c4e919f5 remove lock in SchedulerLibev 2015-07-15 21:47:29 +02:00
Jan Steemann c30354f067 use scoped locks for SchedulerThread locking 2015-07-15 21:33:18 +02:00
Jan Steemann 84e6c29413 use scoped locks for HttpServer locking 2015-07-15 21:30:16 +02:00
Jan Steemann 74d1073875 small simplifications 2015-07-15 21:25:33 +02:00
Jan Steemann 60069e5713 lock only in case of non-nullptr 2015-07-15 21:22:36 +02:00
Jan Steemann 6d4dbcbb47 add SpinLock and SpinLocker, unified other Lockers 2015-07-15 21:22:00 +02:00
Willi Goesgens 0f85dec259 Fix memleak with unique_ptr 2015-07-15 09:57:35 +02:00
Jan Steemann 086663cbd3 rethrow exception 2015-07-14 18:30:42 +02:00
Jan Steemann 72feca418b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-07-14 18:23:42 +02:00
Jan Steemann f5a7e2120f pass filename to internal.parse() call 2015-07-14 18:23:08 +02:00
Willi Goesgens a435a96ea6 log exceptions during execution of scripts. 2015-07-14 17:36:30 +02:00
Willi Goesgens a2b29d8864 work around error message about empty object when compiling in devel mode. 2015-07-14 17:04:11 +02:00
Willi Goesgens f9cbb40a67 Add log output if executing javascript fails 2015-07-14 16:57:54 +02:00
Alan Plum c9e193e2b8 genRandomSalt should take an argument. 2015-07-14 16:43:07 +02:00
Jan Steemann af9c155c90 use references 2015-07-14 14:05:18 +02:00
Jan Steemann 2983f4e987 small garbage collection improvements 2015-07-14 13:30:37 +02:00
Jan Steemann cc27e9b88f try to pacify some compilers 2015-07-14 08:50:29 +02:00
Jan Steemann 7fcb007237 simplifications 2015-07-13 22:57:32 +02:00
Jan Steemann 53400a44a7 simplifications 2015-07-13 22:56:41 +02:00
Michael Hackstein 32100ca6fd Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-07-13 14:50:03 +02:00
Michael Hackstein b54dae0d5b Fixed a memleak in newest shortest path shortcut implementation 2015-07-13 14:49:54 +02:00
Frank Celler f5c1ca0a77 added missing iostream include 2015-07-13 11:29:05 +00:00
Jan Steemann 14ccfbabc3 Merge branch 'aql-query-cache' of https://github.com/arangodb/arangodb into devel 2015-07-13 12:46:41 +02:00
Jan Steemann 5a453bbcfc issue #1409: Document values with null character truncated with 2.6.2 on Windows 2015-07-13 12:45:13 +02:00
Michael Hackstein df33ffe410 Added an implementation for shortest path which allows to take shortcuts iff we do not have to access the data, f.e. filtering or distances. Gives an enormous speedup. 2015-07-13 11:31:42 +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 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
Max Neunhoeffer c87575ce33 Fix bug in AssocMulti lookupByKeyContinue if batchSize==1. 2015-06-29 16:32:00 +02:00
Jan Steemann 61e09fe10c mini optimization 2015-06-27 06:51:11 +02:00
Jan Steemann 8372c33993 fixed invalidation with index creation etc., adjusted tests 2015-06-25 23:40:31 +02:00
Willi Goesgens 641b6798a0 Fix grammer in docu 2015-06-24 17:42:39 +02:00
Jan Steemann f7d5a612d9 do not use EscapableHandleScope for TRI_json_t to V8 conversions
Using EscapableHandleScope is slower than using a HandleScope directly
and also burst earlier with out of memory
2015-06-19 15:06:33 +02:00
Jan Steemann 58a8f2a6a2 remove v8 dependency for arangoimp 2015-06-18 18:30:45 +02:00
Max Neunhoeffer 57716566c2 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2015-06-18 17:30:08 +02:00
Max Neunhoeffer e3623cf6a5 Improve diagnostic output when dispatcher is reporting. 2015-06-18 17:29:36 +02:00
Jan Steemann 5e7dd0da7f Merge branch 'aql-argv-optimization' of https://github.com/arangodb/arangodb into devel 2015-06-18 17:12:14 +02:00
Jan Steemann a00288dc02 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-06-18 15:35:28 +02:00
Jan Steemann 83b326cfc7 moved PUT /_api/simple/all to C++ 2015-06-18 15:34:45 +02:00
Willi Goesgens 9c7d49a666 Merge branch 'v8_4.2' of github.com:arangodb/arangodb into devel 2015-06-18 10:34:08 +02:00
Jan Steemann 788f99980a Merge branch 'aql-parser-simplification' of https://github.com/arangodb/arangodb into devel 2015-06-17 15:15:40 +02:00
Jan Steemann 2a8192105a Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-argv-optimization 2015-06-17 12:41:38 +02:00
Jan Steemann 30ef155b16 issue #1313: escape whitespace in process name when scanning /proc/pid/stats
This fixes statistics values read from that file
2015-06-17 11:54:59 +02:00
Jan Steemann dec79dd051 pass function arguments by reference 2015-06-16 18:01:45 +02:00
Jan Steemann 7cd27d5c56 Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-parser-simplification 2015-06-16 15:14:18 +02:00
Michael Hackstein 933e4c353a Added further OOM tests for ShortestPath computation 2015-06-16 11:27:21 +02:00
Jan Steemann 5cac2938b1 exception handling 2015-06-16 09:37:02 +02:00
Jan Steemann e7ff3f2a19 Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-parser-simplification 2015-06-12 12:04:41 +02:00