1
0
Fork 0
Commit Graph

3009 Commits

Author SHA1 Message Date
Jan Steemann edd1e90511 clean up shell implementation code 2015-08-18 18:10:27 +02:00
Jan Steemann 8677da48b1 replication API enhancements, not yet ready 2015-08-18 18:08:20 +02:00
Jan Steemann 338dd7e100 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-08-17 18:41:13 +02:00
Jan Steemann 4e771b2728 replication improvements 2015-08-17 18:41:05 +02:00
Willi Goesgens 35de50d153 set the mac to add hashes too. 2015-08-17 17:31:15 +02:00
Michael Hackstein e867181a72 Merge remote-tracking branch 'origin/eimerung_hashindex' into array_indexing 2015-08-17 15:58:53 +02:00
Michael Hackstein 2c0bdb5861 Added a function in the attribute parser to transform an expanded attribute to the correct path for pid. 2015-08-17 12:43:13 +02:00
Max Neunhoeffer 1ba7587fc0 Rename ThreadProtector to DataProtector. 2015-08-17 12:43:12 +02:00
Jan Steemann a8428877e7 some cleanup 2015-08-17 12:43:12 +02:00
Jan Steemann 4db822443b allow non-const access to string-buffer 2015-08-17 12:43:11 +02:00
Michael Hackstein 8e3e2d547d Do not push <Class const> into vector. It does not work everywhere 2015-08-17 12:43:11 +02:00
Jan Steemann 98106510d2 remove CONST_CAST helper 2015-08-17 12:43:11 +02:00
Jan Steemann 6262614ce3 delay supervisor startup 2015-08-17 12:43:10 +02:00
Jan Steemann 205d1e73ed fix Visual Studio compile errors 2015-08-17 12:43:09 +02:00
Michael Hackstein d7d00a5d0d Fixed index comparision with multiple components. Introduced by AttributeName format. 2015-08-17 12:43:09 +02:00
Max Neunhoeffer a18faae89f Untemplatify ThreadProtector for those with gcc < 4.9.2.
We will revert this later once everybody has gcc >= 4.9.2.
2015-08-17 12:43:09 +02:00
Jan Steemann 907e6368c6 some unused function cleanup 2015-08-17 12:43:09 +02:00
Michael Hackstein c2338d80d0 A user can now create an indux on attribute[*] which will put an index on attribute and ignores the expand flag. Does not harm any feature in AQL now. 2015-08-17 12:43:08 +02:00
Michael Hackstein 17a8f73a06 Now the input for indexes is parsed using the new attribute parser. This means the flags for expanded Attributes are set. Also introduced a transformation function to transform an attributeName list back into a string. 2015-08-17 12:43:07 +02:00
Max Neunhoeffer a5cb29e026 Improve the explanation of ThreadProtectors. 2015-08-17 12:43:06 +02:00
Max Neunhoeffer 49f74b1baf Replace DataGuardian by ThreadProtector. 2015-08-17 12:43:06 +02:00
Jan Steemann 5faf5d8248 provide more information on arangod startup and shutdown in supervisor mode 2015-08-17 12:43:06 +02:00
Jan Steemann cc42bd1c85 log logfiles location on startup 2015-08-17 12:43:06 +02:00
Michael Hackstein 8fbb2739b0 The indexes can now use the new AttributeName struct which contains a flag if the attribute should be Array-Indexed. Right now this flag is hard-coded to false in all cases and not persisted. 2015-08-17 12:43:05 +02:00
Michael Hackstein c85d5e347a Implemented a new AttributeNameParser this is able to identify [*] expansion and shall be used for array indexes. Also includes tests. 2015-08-17 12:43:05 +02:00
Jan Steemann 46565e4daf fix parallel insertion 2015-08-17 12:43:05 +02:00
Max Neunhoeffer 6d5d14a3ed Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2015-08-17 12:40:16 +02:00
Jan Steemann 6a46fd55ec added explicit 2015-08-17 00:14:53 +02:00
Jan Steemann 69721a6cca fix handling of socket read/write errors 2015-08-16 22:42:27 +02:00
Jan Steemann 46c8d042ae fix busy waits in scheduler threads 2015-08-16 22:08:25 +02:00
Jan Steemann 57cb32bdf6 close connections 2015-08-14 18:16:35 +02:00
Jan Steemann dd378089bc close connection on I/O errors 2015-08-14 14:59:32 +02:00
Jan Steemann b81b4c32e0 removed AsyncTask 2015-08-14 11:55:02 +02:00
Jan Steemann 006bf3d2c1 Revert "fix assertion"
This reverts commit 9e1ffac077452187acd4d652b4480495f4a2b608.
2015-08-14 11:37:39 +02:00
Jan Steemann 0aa3bb6104 fix assertion 2015-08-14 11:37:00 +02:00
Jan Steemann 17d1f254a9 silence VS 2015-08-14 11:02:18 +02:00
Jan Steemann 43896b3daf change version string 2015-08-14 01:23:25 +02:00
Jan Steemann e754f0c3f0 cppcheck 2015-08-14 01:23:17 +02:00
Jan Steemann 57e9b55739 use TRI_CHAR_NODE_PAIR() 2015-08-14 00:54:59 +02:00
Jan Steemann a4202e5ea9 use macro to determine strlens at compile time 2015-08-13 23:41:19 +02:00
Max Neunhoeffer 1cfaf524d1 Fix DataProtector after blog post comments. 2015-08-13 23:16:07 +02:00
Jan Steemann 22e14c9444 fix buffer overrun when there are more users than DATA_PROTECTOR_MULTIPLICITY 2015-08-13 20:57:34 +02:00
Jan Steemann ca5b7661a3 initialize _list to nullptr
otherwise _list is uninitialized and if the assignment in the constructor fails with std::bad_alloc,
the destructor will delete from an uninitialized pointer
2015-08-13 20:19:41 +02:00
Jan Steemann 344741e342 force closing of idle connections 2015-08-13 18:35:00 +02:00
Jan Steemann 6dc10ba1de remove unused function 2015-08-13 16:34:55 +02:00
Jan Steemann b16667b19f slight cleanup 2015-08-13 16:14:59 +02:00
Willi Goesgens d3cc9981b8 Merge branch 'devel' of github.com:arangodb/ArangoDB into devel 2015-08-13 14:25:22 +02:00
Jan Steemann 34d372d2c3 lower privileges earlier on startup 2015-08-13 14:25:33 +02:00
Willi Goesgens 9fa3ce60c8 Examplify job api 2015-08-13 14:25:05 +02:00
Jan Steemann 9b4a6770bd Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-08-13 11:15:15 +02:00
Jan Steemann a1d0c4e431 fixed g++5.1 compile error, added tests 2015-08-13 11:14:50 +02:00
Willi Goesgens 52406fa674 Move call documentation over into the source. 2015-08-13 10:49:04 +02:00
Jan Steemann 182e07a9a2 fixed VS compile errors 2015-08-13 09:43:39 +02:00
Jan Steemann 99ac624ab0 declare differently 2015-08-13 00:17:37 +02:00
Jan Steemann bdee652547 fixed V8 crash "Escape value set twice" 2015-08-12 23:39:59 +02:00
Jan Steemann ee41b92f50 added comment 2015-08-12 23:39:27 +02:00
Jan Steemann e62974240b allow termination of current shell command 2015-08-12 21:39:16 +02:00
Jan Steemann 59744e9945 more version information (readline version, tcmalloc usage) 2015-08-12 21:38:50 +02:00
Jan Steemann 7b5ac63591 cppcheck 2015-08-12 21:37:28 +02:00
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
Jan Steemann 1a18fb0282 factor out huge array/object literals when calling V8-based AQL functions 2015-06-12 11:50:22 +02:00
Jan Steemann ff7a00d6e4 fixed edge index selectivity estimates and added tests 2015-06-11 21:22:01 +02:00
Jan Steemann 89cdcc6837 emulate 2.5ish logging order for request logging
this ensures that request logging is also sent to the syslog
2015-06-11 13:14:31 +02:00
Max Neunhoeffer 8ae33e04e7 Fix selectivity estimate by casting to double before division. 2015-06-11 11:50:51 +02:00
Jan Steemann 79ce6eb93b fixed threading issues 2015-06-11 09:50:56 +02:00
Jan Steemann d99d164c0a simplified parser 2015-06-10 20:25:25 +02:00
Jan Steemann f5f719360c added out-of-bounds checking for _heap and _history 2015-06-10 18:04:17 +02:00
Jan Steemann 3d4f323718 fix some issues with multiple databases and database-switching 2015-06-10 13:24:38 +02:00
Jan Steemann b5896be10b simplifications 2015-06-10 11:53:31 +02:00
Jan Steemann a6b2998b5d added try...catch blocks for V8-to-CPP bindings 2015-06-08 16:04:42 +02:00
Jan Steemann 2178ace348 fixed invalid usage of null 2015-06-03 09:25:35 +02:00
Jan Steemann 4c7994597a cppcheck 2015-06-02 22:49:22 +02:00
Jan Steemann b44ae7b471 make Json smaller 2015-06-02 14:11:20 +02:00
Jan Steemann 39cf9c527c micro optimizations 2015-06-01 14:56:01 +02:00
Jan Steemann 2d2bf87a2d printers for standard objects 2015-05-29 17:49:19 +02:00
Willi Goesgens 1d6765b603 Add TryCatch to JS_Load, since V8 doesn't like to continue here without that. 2015-05-29 16:51:47 +02:00
Jan Steemann a64ac35168 updated documentation 2015-05-29 11:47:14 +02:00
Jan Steemann 6d5b86867d added print methods 2015-05-29 11:45:01 +02:00
Jan Steemann db617fd514 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-05-29 09:49:31 +02:00
Jan Steemann 88198767dd logging 2015-05-29 09:49:22 +02:00
Willi Goesgens e1255b4e65 Fix signature of windows function dummy. 2015-05-29 09:28:27 +02:00
Michael Hackstein 6a7dae216d Merge branch 'devel' of github.com:/arangodb/arangodb into devel 2015-05-28 15:18:32 -07: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 ad59242822 fixed ambiguous attribute name "version" for collections 2015-05-28 11:54:57 +02:00
Jan Steemann 4dde6e49cd goodbye barriers, welcome ditches 2015-05-28 10:23:30 +02:00
Michael Hackstein 6eadcb31ff Fixed a bug where the shortest path computation computed the correct distancebut returned a wrong path. It was only triggered under very special conditions 2015-05-27 13:42:21 -07:00
Jan Steemann 03461903fe fixed over-eager V8 context entering and exiting in non-cluster mode 2015-05-27 14:02:13 +02:00
Jan Steemann 07e553cd8d Merge branch 'devel' of https://github.com/arangodb/arangodb into index-cxx
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
2015-05-26 17:07:26 +02:00
Willi Goesgens 53a37ae387 Fix timeouts - followup of #cc427f9b1c0e28fec5abc312df606229195db7b8
- use TRI_microtime() instead of copying it with the name 'now()'
  - handle select-timeouts on non linux platforms.
2015-05-26 15:55:36 +02:00
Max Kellermann c9075aeacf lib/SimpleHttpClient: don't reset timeout after EINTR
select() modifies the given timeout variable.  Calling select() again
will run with the remaining timeout.  However, method prepare()
overwrote the reduced timeout in each iteration.
2015-05-26 15:03:11 +02:00
Jan Steemann a9f2769ffa now compiles and links 2015-05-23 04:31:13 +02:00
Willi Goesgens fe19440bca Add documentation for some more filesystem calls; change sequence. 2015-05-22 16:34:27 +02:00
Willi Goesgens 871a95122c Work on documentation - not all documentation from the code seems to appear in the generated documentation. 2015-05-22 15:37:23 +02:00
Willi Goesgens c418f10729 Implement copying of files, since copyRecursive can't copy single files. 2015-05-21 15:49:10 +02:00
Jan Steemann 5a4eb1719f added missing declarations 2015-05-21 09:56:48 +02:00
Jan Steemann 882f233fd8 constify 2015-05-21 09:56:37 +02:00
Jan Steemann d4285fc6fd fix Visual Studio compile warnings 2015-05-20 16:12:30 +02:00
Jan Steemann 688b21fe51 fixed namespaces 2015-05-20 15:49:39 +02:00
Willi Goesgens 8e858bc96d Upgrade V8 to 4.2.77
- v8 now requires llvm libstdc++ inline
  - ForceDelete is gone now; employ new tactics of working with wrapping shaped json
  - gold crashes while linking V8, remove it.
2015-05-20 15:10:28 +02:00