1
0
Fork 0
Commit Graph

2850 Commits

Author SHA1 Message Date
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