1
0
Fork 0
Commit Graph

10452 Commits

Author SHA1 Message Date
Jan Steemann 992da3d4f0 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-22 11:15:18 +02:00
Jan Steemann 4038c21c10 reserve buffer ahead of time 2016-06-22 11:14:50 +02:00
Kaveh Vahedipour 48832c2d52 fix agency test error 2016-06-22 10:14:00 +02:00
Kaveh Vahedipour dcc2b257e3 fix agency test error 2016-06-22 10:02:30 +02:00
Max Neunhoeffer 0dc3b7dd45 Small change in getResponsibleServer to silence warnings.
If getResponsibleServer finds an entry _DBServer001 it simply waits
for half a second and checks again in the agency. This is the right
reaction to a planned leader change.
2016-06-21 22:55:46 -07:00
Jan Steemann 91f806ef2b match collections by either id or name 2016-06-21 17:21:59 +02:00
jsteemann ae2d8b8394 micro optimizations 2016-06-21 16:01:31 +02:00
Jan Steemann 6b23e9fee9 next attempt 2016-06-21 09:58:16 +02:00
Jan Steemann f362dc5e21 attempt to fix Visual Studio complaints 2016-06-21 09:52:42 +02:00
Jan Steemann a00cdb8cfd define RESTSERVER earlier, to avoid false results 2016-06-21 09:52:04 +02:00
jsteemann 55fce39574 optimizations for neighbors queries 2016-06-20 18:37:46 +02:00
Kaveh Vahedipour 7f326d362a vs compilation problems 2016-06-20 15:02:14 +02:00
Kaveh Vahedipour 6e13e454f1 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-20 10:24:57 +02:00
Kaveh Vahedipour b22b826862 documenting code mode 2016-06-20 10:13:00 +02:00
Max Neunhoeffer 8adf1ac3b6 Fix a typo in an error message. 2016-06-18 08:08:08 -07:00
jsteemann c46abcdf16 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-18 01:59:09 +02:00
jsteemann ea197fbf79 fixed assertion failure 2016-06-18 01:58:54 +02:00
Max Neunhoeffer 6df59cd509 Fix the fix: if there is cluster internal communication problems... 2016-06-17 14:36:00 -07:00
Max Neunhoeffer 4710059bd7 Fix crash if cluster internal communication does not work and no shardId comes back. 2016-06-17 13:49:16 -07:00
Max Neunhoeffer 66e24b2093 Use old version of Plan when building the new version. 2016-06-17 11:55:12 -07:00
jsteemann 6862f8fb9e micro optimizations 2016-06-17 17:55:06 +02:00
jsteemann 5b915d179c optimized away a Builder object 2016-06-17 17:24:15 +02:00
jsteemann 205cb4545a micro optimization 2016-06-17 17:10:15 +02:00
jsteemann 43574e509e Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-17 16:28:04 +02:00
jsteemann 1e8ce63e01 optimizations for traversal 2016-06-17 16:27:37 +02:00
Jan Steemann 46df1f6a79 optimization for documents 2016-06-17 15:50:45 +02:00
Kaveh Vahedipour 62b905d558 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-17 13:28:15 +02:00
jsteemann 1eff077480 small changes 2016-06-16 18:06:51 +02:00
Andreas Streichardt 76b89776fb Allow aborting cluster task startup...CTRL-C will now do a hard abort during startup 2016-06-16 16:00:43 +02:00
Kaveh Vahedipour 844a6430be Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-16 15:33:10 +02:00
Kaveh Vahedipour 1578d0df13 adding IN operator to kv-store 2016-06-16 15:33:03 +02:00
jsteemann 2b223f6757 fixed errors in cluster traversal 2016-06-16 13:51:37 +02:00
jsteemann ca4edc60e0 small optimizations for traversal 2016-06-16 13:26:46 +02:00
jsteemann 0e4d0610c7 removed unused property 2016-06-16 09:57:03 +02:00
jsteemann e9033e56c9 removed unused code 2016-06-16 09:49:13 +02:00
jsteemann 6683bc02a7 small traversal optimizations 2016-06-16 09:44:24 +02:00
Max Neunhoeffer d0fe9f6d81 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-15 21:29:20 -07:00
Max Neunhoeffer dac508da27 Fix nasty bug with local system collections on DBServers.
There are 3: _statistics, _statisticsRaw and _statistics15.
They need _id attributes in their documents which store the local
collection ID, and collection name lookup must consider this case.
2016-06-15 21:26:04 -07:00
Max Neunhoeffer 4168cd32e7 Add more optional debugging output for AQL queries. 2016-06-15 21:23:16 -07:00
jsteemann 289a25bf5f no benefit from moving 2016-06-15 23:53:08 +02:00
jsteemann 2e417e08d6 fixed includes 2016-06-15 23:23:38 +02:00
jsteemann f6268f5c9d sort collection names 2016-06-15 23:18:04 +02:00
jsteemann 174bbab03a less work when packing search values for documentFastPath() 2016-06-15 22:23:14 +02:00
jsteemann 94d3959008 use alignas 2016-06-15 21:55:24 +02:00
jsteemann c3581c21aa fixed typo 2016-06-15 21:45:47 +02:00
jsteemann e536051af9 return prefab string 2016-06-15 20:48:39 +02:00
jsteemann e7be7730d2 fixed wrong assertion 2016-06-15 20:34:26 +02:00
jsteemann 2d5816dbb6 allow switching args for IS_SAME_COLLECTION 2016-06-15 20:34:06 +02:00
jsteemann f6cd7c67eb constify method 2016-06-15 19:22:16 +02:00
jsteemann f21561b25f use nullptr, don't include Thread.h when unnecessary 2016-06-15 19:21:53 +02:00
Kaveh Vahedipour 09e6fc810e Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-15 16:08:26 +02:00
Kaveh Vahedipour 9ea023acb1 store documentation 2016-06-15 16:08:17 +02:00
Jan Steemann f3b4a8cee3 properly delete .tmp files 2016-06-15 15:50:53 +02:00
Kaveh Vahedipour 132788a205 agency raft voting logging demoted from INFO to DEBUG 2016-06-15 14:38:52 +02:00
Kaveh Vahedipour 7bb896be3a moveshard looks if toserver already in list else failes 2016-06-15 14:19:15 +02:00
Wilfried Goesgens 2a5103c13e Fatal exit if we find an old database version. 2016-06-15 13:19:32 +02:00
Kaveh Vahedipour e4556bb766 fixed seldom race in election pulled back from 3.0 2016-06-15 12:35:40 +02:00
jsteemann 766f79baa3 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-15 09:54:17 +02:00
jsteemann fc34a53b14 speed up 2016-06-15 09:38:45 +02:00
jsteemann f7ece88b35 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-14 17:37:55 +02:00
Kaveh Vahedipour 66e6315113 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-14 17:14:00 +02:00
Kaveh Vahedipour 0f66a110de fixed max_elements bug in job transactions 2016-06-14 17:13:52 +02:00
jsteemann b397ec9b17 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-14 16:54:19 +02:00
Frank Celler 03079b2b67 3.0 fixes for paths 2016-06-14 16:51:48 +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
Kaveh Vahedipour a3694e7a01 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-14 16:39:17 +02:00
Kaveh Vahedipour 1b77bc7a83 ageny tests 2016-06-14 16:39:07 +02:00
jsteemann 83466c2342 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-14 16:14:21 +02:00
jsteemann 34877186dd make user-defined AQL functions throw again 2016-06-14 16:14:02 +02:00
Max Neunhoeffer 3e1b745f64 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-14 15:59:45 +02:00
Max Neunhoeffer 127a642943 Wait for 2 DBServers or 30s before running cluster bootstrap. 2016-06-14 15:40:11 +02:00
Kaveh Vahedipour 2f3c86dd1d error handling in rest handling and random generator in constituent 2016-06-14 14:53:33 +02:00
Kaveh Vahedipour ab593bfa94 error handling in rest handling and random generator in constituent 2016-06-14 14:51:48 +02:00
Frank Celler e8a5f4b8aa fixed random issue 2016-06-14 14:25:44 +02:00
Frank Celler 37dc4ae54e fixed random issue 2016-06-14 14:22:43 +02:00
Andreas Streichardt f46096d693 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-06-14 13:04:30 +02:00
Andreas Streichardt 60377dfd1b Throw exception when calling cluster methods in non-cluster mode 2016-06-14 13:04:03 +02:00
Kaveh Vahedipour 3f0b5c1a36 minor optimisations 2016-06-14 12:20:22 +02:00
Kaveh Vahedipour 658a2a8f3d clean up code, document 2016-06-14 12:00:34 +02:00
jsteemann e952d2f08b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-13 22:38:45 +02:00
jsteemann a7fa0c0544 fixed uniqueness issue for breadth-first traversal in cluster 2016-06-13 21:00:13 +02:00
Kaveh Vahedipour 1709d66841 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-13 19:32:56 +02:00
Kaveh Vahedipour df93c72bd0 optimised key-value store for speed and readability 2016-06-13 19:32:50 +02:00
Andreas Streichardt 040959e83b Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-06-13 19:12:47 +02:00
Andreas Streichardt d9d30d6bdc Throw exception when not running in cluster 2016-06-13 19:11:29 +02:00
Frank Celler 4576ec4f5c fixed return code 2016-06-13 17:20:17 +02:00
jsteemann fc53bbec02 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-13 15:17:02 +02:00
jsteemann b898333162 fix SSL options 2016-06-13 15:16:31 +02:00
Kaveh Vahedipour d130743a73 shrinkCluster tests 2016-06-13 15:15:10 +02:00
Kaveh Vahedipour cf338d0158 shrinkCluster tests 2016-06-13 14:45:29 +02:00
Max Neunhoeffer 2a7f4684f4 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-13 13:55:30 +02:00
Max Neunhoeffer 1f926fc24b Fix synchronous replication: use shard name instead of ID.
Explanation: Different replicas of the same shard will have different
local collection IDs. Therefore we have to use the shard name
(collection name) to indentify collections in synchronous replication.
2016-06-13 13:54:32 +02:00
jsteemann 9abb3d6e72 do not count filtered values twice 2016-06-13 13:33:55 +02:00
jsteemann 6a9a45de2f make it compile on Visual Studio 2016-06-13 13:21:30 +02:00
jsteemann c580ac9b91 make it compile on Visual Studio 2016-06-13 13:18:57 +02:00
jsteemann f09b91813d pacify Visual Studio 2016-06-13 13:16:35 +02:00
jsteemann f3edd6ef5d Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-13 12:59:37 +02:00
jsteemann 85d8e84e2a fixed endless looping 2016-06-13 12:15:30 +02:00
jsteemann 365a70643e use std::move 2016-06-13 10:28:39 +02:00
jsteemann 0d2274edef Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-12 16:58:18 +02:00
Frank Celler c192c41c21 fixed typo 2016-06-12 12:25:10 +02:00
Frank Celler 2dce30ac21 clang-format 2016-06-12 12:19:37 +02:00
Frank Celler ed01dcec8f secure-installation will remove all users except root 2016-06-12 12:19:37 +02:00
Michael Hackstein 614c52d5c6 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-06-10 21:34:53 +02:00
Michael Hackstein 7baee88d23 Removed Code that is now obsolete do to replacement of Neighbors by Pattern Matching traversal 2016-06-10 21:33:46 +02:00
Michael Hackstein d7a710593a Fixed some minor bugs in breadth-first-search for AQL traversal. Also added another test case for it. 2016-06-10 21:00:38 +02:00
Andreas Streichardt 7a6c00506e Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-06-10 19:28:23 +02:00
Kaveh Vahedipour dfa2d31410 we can shrink cluster 2016-06-10 19:28:06 +02:00
Michael Hackstein 50225fdc0d First draft of Breadth-First-Search implementation for Traversal. 2016-06-10 19:25:44 +02:00
Andreas Streichardt e086199fa6 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-06-10 18:38:40 +02:00
Kaveh Vahedipour d60b58427f we can shrink cluster 2016-06-10 18:38:23 +02:00
Andreas Streichardt c8383d6ca4 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-06-10 18:21:56 +02:00
Andreas Streichardt f7301bdc7c Implement unregister on shutdown 2016-06-10 18:21:41 +02:00
Kaveh Vahedipour 2e866c4067 we can shrink cluster 2016-06-10 18:20:37 +02:00
Kaveh Vahedipour beba4887a3 shrink cluster in supervision 2016-06-10 18:10:37 +02:00
Frank Celler 927c697b8b fixed auth (again) 2016-06-10 16:21:48 +02:00
Kaveh Vahedipour 55351f2358 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-10 15:57:25 +02:00
Kaveh Vahedipour 988b4401f2 machine ids in cluster zero-filled to up to 1000 machines 2016-06-10 15:57:12 +02:00
Max Neunhoeffer 96053268aa Fix v8 contexts check. 2016-06-10 15:48:38 +02:00
Michael Hackstein bdee12804c PathEnumerator is now an Abstract class. It can either be DepthFirstEnumerator, or BreadthFirstEnumerator. The later is to be implemented 2016-06-10 15:41:20 +02:00
Michael Hackstein dce3864285 Further internal cleanup of Traversal and ShortestPath. wrt Template Classes. Also moved maxDepth test into the pathEnumerator in preparation for BreadthFirstTraversals 2016-06-10 15:03:27 +02:00
Max Neunhoeffer bacaeaac4f Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-10 14:06:41 +02:00
Max Neunhoeffer 3a20591d77 Fix heartbeat thread (remain < 0.0 and cast to uint64_t bug). 2016-06-10 14:06:22 +02:00
Frank Celler fa9501cc0c use defer release 2016-06-10 14:01:42 +02:00
Frank Celler 5cb1d86d58 special treament for /_api/user 2016-06-10 14:01:42 +02:00
Michael Hackstein 419cfdab14 Cleanup of internal structur for single server traversals. Moved the functions out of V8Server because they do not have anything to do with V8 any more. It should be more clear now 2016-06-10 13:56:07 +02:00
Kaveh Vahedipour b9a6a89392 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-10 12:36:01 +02:00
Kaveh Vahedipour d34752a1c4 removed dependence on excetion throwing for store to build results 2016-06-10 12:35:52 +02:00
Max Neunhoeffer be02c9c9fb Do not crash when registerTask is called after shutdown has begun. 2016-06-10 12:01:44 +02:00
Max Neunhoeffer 19a075c4f1 Squelch a some error messages when shutdown already in progress. 2016-06-10 12:01:13 +02:00
Max Neunhoeffer c6bf02a245 Honour isRestore option in <coll>.insert, <coll>.replace and <coll>.update. 2016-06-10 10:29:00 +02:00
Max Neunhoeffer 1a39e2efb1 Rename obsolete "SERVINGASYNC" to "SERVING". 2016-06-10 09:15:45 +02:00
jsteemann fd80ae28c7 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-09 18:47:45 +02:00
Kaveh Vahedipour 664a4745eb moveshard good 2016-06-09 18:25:29 +02:00
Max Neunhoeffer eaa5d3c9a8 Prevent division by zero. 2016-06-09 16:23:49 +02:00
Max Neunhoeffer e7fe62bbf8 Add reporting to /Target/CleanedServers. 2016-06-09 16:19:24 +02:00
Kaveh Vahedipour 9a1ef370fc Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-09 14:08:17 +00:00
Kaveh Vahedipour 70f7a2a9d3 agency shutdown problems 2016-06-09 14:08:11 +00:00
Kaveh Vahedipour 8deaee2bd6 agency shutdown problems 2016-06-09 14:06:25 +00:00
Andreas Streichardt 8eb0ed6d38 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-06-09 15:43:18 +02:00
Andreas Streichardt 3e10ea32b2 remove obsolete code 2016-06-09 15:42:56 +02:00
Frank Celler f029808e4e added restore-admin 2016-06-09 15:28:27 +02:00
jsteemann 106d143047 fixed leaks 2016-06-09 14:15:34 +02:00
Kaveh Vahedipour 2ae47d302b moveshard working 2016-06-09 13:54:11 +02:00
Kaveh Vahedipour c85281b06b waitForCommit is new default behaviour of writes in agency 2016-06-09 13:38:56 +02:00
Kaveh Vahedipour 9fd39ed804 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-09 13:36:57 +02:00
Kaveh Vahedipour a13de0044e waitForCommit is new default behaviour of writes in agency 2016-06-09 13:36:17 +02:00
jsteemann 7a9ed0f318 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-09 13:15:42 +02:00
jsteemann 2464acf327 fixed leak 2016-06-09 13:15:36 +02:00
Kaveh Vahedipour 79d467daa9 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-09 13:14:28 +02:00
Kaveh Vahedipour 09535492d6 waitForCommit is new default behaviour of writes in agency 2016-06-09 13:14:19 +02:00
Jan Steemann dff3c23380 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-09 13:09:12 +02:00
Max Neunhoeffer a7cb6b6830 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-09 12:04:18 +02:00
Max Neunhoeffer ebe0b5c64a Report result of DBSyncServerJob back to the heartbeat thread. 2016-06-09 12:03:34 +02:00
Max Neunhoeffer 136336e9d8 Fixed a typo. 2016-06-09 12:02:28 +02:00
Kaveh Vahedipour a88a93b450 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-09 12:01:50 +02:00
Kaveh Vahedipour e6ec1864c5 move-shard slightly changed order of actions 2016-06-09 12:01:44 +02:00
Jan Steemann b5d120321e decrease number of reserve logfiles 2016-06-09 11:56:39 +02:00
Jan Steemann 062cbe9db5 fix race condition on shutdown 2016-06-09 11:51:06 +02:00
jsteemann de4086afc2 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-09 11:12:45 +02:00
Jan Steemann 3712a8dcf4 oops, forgot to add these files too 2016-06-09 11:09:54 +02:00
Jan Steemann c734e82a51 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-09 11:08:08 +02:00
Jan Steemann 9626d33960 re-added --database.slow-query-threshold 2016-06-09 11:07:51 +02:00
Kaveh Vahedipour e806beca57 move-shard slightly changed order of actions 2016-06-09 11:03:37 +02:00
Kaveh Vahedipour 2dd131b500 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-09 11:02:57 +02:00
Kaveh Vahedipour e053742f45 move-shard slightly changed order of actions 2016-06-09 11:02:51 +02:00
Max Neunhoeffer 8a4befc241 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-09 10:52:24 +02:00
Max Neunhoeffer 5668e6e524 Agency changes. 2016-06-09 10:51:46 +02:00
jsteemann 5328a00092 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-09 10:13:11 +02:00
jsteemann 3b79b6eda4 micro optimizations 2016-06-09 10:13:01 +02:00
Jan Steemann 4b10b26bf0 removed unused function 2016-06-09 09:36:55 +02:00
Max Neunhoeffer 6cffcaa196 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-09 09:14:52 +02:00
Max Neunhoeffer 95ea7625cd Add endpoint and thus protocol to cluster health status. 2016-06-09 09:13:34 +02:00
Kaveh Vahedipour 51c6a734c4 Going back to const references for local snapshot views in supervision 2016-06-09 09:08:29 +02:00
jsteemann 90518c708b fix g++6 warning 2016-06-09 09:07:09 +02:00
Kaveh Vahedipour fcc9a86534 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-09 09:05:20 +02:00
Kaveh Vahedipour 86bc29f61e Added standalone agency script 2016-06-09 09:05:13 +02:00
jsteemann 317d69a326 no expensive copying 2016-06-09 09:04:56 +02:00
Max Neunhoeffer f5290b93a7 Add roles to health status. 2016-06-09 08:39:15 +02:00
jsteemann dda513c695 use std::move 2016-06-08 22:53:54 +02:00
Frank Celler a92d566234 added database.init-database 2016-06-08 21:40:21 +02:00
Frank Celler 967d709f28 added cmath for GCC 5.4 2016-06-08 21:40:21 +02:00
Kaveh Vahedipour da85e41df2 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-08 18:28:08 +02:00
Kaveh Vahedipour 382ac052d4 resilience green 2016-06-08 18:27:59 +02:00
jsteemann 3a247716e6 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-08 16:55:51 +02:00
jsteemann abcc5c01e9 some fixes 2016-06-08 16:55:45 +02:00
Andreas Streichardt 496454df3f /_admin/shutdown will now need a DELETE request 2016-06-08 15:26:53 +02:00
Max Neunhoeffer c1fc27c585 Agency bugfixes. 2016-06-08 14:59:13 +02:00
jsteemann 7b5d632030 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-08 10:18:17 +02:00
Kaveh Vahedipour 4ffa0c6e69 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-08 10:16:06 +02:00
Kaveh Vahedipour 680412166d plan version increments added to status 2016-06-08 10:15:56 +02:00
Max Neunhoeffer 659a06765d Let a follower unfollow a leader. 2016-06-08 10:00:19 +02:00
jsteemann bcb7b00078 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-08 00:17:55 +02:00
jsteemann 421004addf re-use even more VPackBuilders in queries 2016-06-08 00:17:36 +02:00
jsteemann 96686b88cf don't copy 2016-06-07 23:08:43 +02:00
jsteemann 36e18893d6 removed some unused Windows code remainders 2016-06-07 23:08:18 +02:00
Max Neunhoeffer 5c856208a3 Fix synchronous replication. 2016-06-07 23:02:34 +02:00
Michael Hackstein d970f0084b Fixed default constructor of traverser options 2016-06-07 21:09:06 +02:00
Michael Hackstein b7be6cce4a Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-06-07 20:10:41 +02:00
Michael Hackstein 9a9d59c737 Fixed a bug in Pattern Matching when using a minDepth of 0 and requesting the Edge it caused undefiend behaviour. Now the depth 0 edge will be NULL 2016-06-07 20:03:49 +02:00
Michael Hackstein eb973762f7 Removed obsolete graph functions. This was AQL TRAVERSAL and GRAPH_TRAVERSAL please use the js Traversal module in Foxx instead for performance reasons. 2016-06-07 19:47:23 +02:00
Kaveh Vahedipour 9134933158 multi-host agency tests startup ok 2016-06-07 19:01:23 +02:00
Kaveh Vahedipour 2b0aea5c46 green tests in agencySize 3 2016-06-07 18:58:16 +02:00
Kaveh Vahedipour 3328537c84 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-07 16:55:56 +00:00
Kaveh Vahedipour e39c3dd118 multi-host agency clean shutdown 2016-06-07 16:55:50 +00:00
jsteemann 9a83aaaca0 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-07 17:26:46 +02:00
jsteemann c1ff7d249f added tests, fixed unique constraints 2016-06-07 17:26:07 +02:00
jsteemann a88b1adf8e make query killable even if it did not yet start 2016-06-07 17:25:26 +02:00
Kaveh Vahedipour 0a499f31a6 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-07 17:17:09 +02:00
Kaveh Vahedipour c0204e89d9 green tests in agencySize 3 2016-06-07 17:16:58 +02:00
jsteemann 183a574b7e Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-07 16:23:39 +02:00
jsteemann 14ea9032a9 pacify cppcheck 2016-06-07 16:23:23 +02:00
Max Neunhoeffer 287f5a412d Add /Target/CleanedServers in agency (init & read out in API).
Note: Supervision still needs to add cleaned servers there.
2016-06-07 15:54:13 +02:00
Kaveh Vahedipour 49c1435d9c multi-host agency tests startup ok 2016-06-07 15:36:33 +02:00
Max Neunhoeffer dcd001d8eb Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-07 15:13:36 +02:00
Kaveh Vahedipour c21a8d6249 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-07 14:57:26 +02:00
Jan Steemann 8836309872 added generated files 2016-06-07 14:53:05 +02:00
Max Neunhoeffer 4ba6d8acbb Next iteration of performRequests improvement.
asyncRequest has now two timeouts, one for the connection phase
leading to retries for failover situations, the other for the
completion of the whole operation.
2016-06-07 14:12:09 +02:00
Michael Hackstein 832d2a94f3 Squashed commit of the following:
commit 6b5b1fc821f304ce0445220bbf781060bd2995af
Merge: c987b9f 1754e78
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue Jun 7 12:55:24 2016 +0200

    Merge branch 'AQL_GRAPHICATION' of github.com:arangodb/arangodb into AQL_GRAPHICATION

commit c987b9f71f75a95a45a32d5cb15ed5570b2ff938
Merge: c4437e2 274cfeb
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue Jun 7 12:55:07 2016 +0200

    Merge branch 'devel' of github.com:arangodb/arangodb into AQL_GRAPHICATION

commit 1754e78736bf3f93c32b0c7c4a5d5569f3c834d9
Author: jsteemann <jan@arangodb.com>
Date:   Tue Jun 7 12:01:24 2016 +0200

    fixed leaks

commit 6f8be7707623c10b1365d12db61011f73ca3e36a
Author: jsteemann <jan@arangodb.com>
Date:   Tue Jun 7 11:53:58 2016 +0200

    don't emit "expected" errors

commit c4437e29c72a54f46942c616447ddee377cce478
Merge: e567d81 f4e2ead
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue Jun 7 11:40:53 2016 +0200

    Merge branch 'AQL_GRAPHICATION' of github.com:arangodb/arangodb into AQL_GRAPHICATION

commit e567d810b2ff624fc4acc8c12948cd89b4592b8d
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue Jun 7 11:40:44 2016 +0200

    Removed now unused SHORTEST_PATH code. Use the AQL Node instead.

commit f4e2eadbf03fecf7d0f0aa699caaf1198ca79443
Merge: 3d24da5 52f20f8
Author: jsteemann <jan@arangodb.com>
Date:   Tue Jun 7 11:30:40 2016 +0200

    Merge branch 'AQL_GRAPHICATION' of https://github.com/arangodb/arangodb into AQL_GRAPHICATION

commit 3d24da5b0060025ae7c133600bfae40b11c6ed70
Author: jsteemann <jan@arangodb.com>
Date:   Tue Jun 7 11:30:25 2016 +0200

    simplify initialize()

commit 52f20f842dd966b046e428eb08429f036240e112
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue Jun 7 11:04:08 2016 +0200

    Removed an unused ClusterComm->drop

commit c4bc6fa53340ab9de39bb0ef2d573ca77197c580
Author: jsteemann <jan@arangodb.com>
Date:   Tue Jun 7 11:00:36 2016 +0200

    do not show "expected" errors on shutdown

commit 50c170737311ae031addec8fb251cd5c1a2fbf5b
Merge: 7da771b 0141cdd
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue Jun 7 11:00:34 2016 +0200

    Merge branch 'AQL_GRAPHICATION' of github.com:arangodb/arangodb into AQL_GRAPHICATION

commit 7da771bb2bc3daa6c332507e021d37f536d17080
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue Jun 7 10:59:55 2016 +0200

    Fixed VertexUniqueness::PATH in cluster Traverser. And Fixed global edge Uniqueness in cluster.

commit 0141cdd1ca929f14ac5d66a2fcf6da5faf7b0e7f
Author: jsteemann <jan@arangodb.com>
Date:   Tue Jun 7 10:30:16 2016 +0200

    pass by const reference, not by copying

commit 8b96da25cdbee4a8a6508470500ae19a8ddbc129
Merge: 7b79575 d87aa2b
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue Jun 7 09:07:30 2016 +0200

    Merge branch 'devel' of github.com:arangodb/arangodb into AQL_GRAPHICATION

commit 7b79575a28871307f25284e1b9141a684ecc5b23
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue Jun 7 09:04:45 2016 +0200

    Attempt to improve getFilteredEdges in cluster.

commit 963e93e4f00afedeaa5fc960d629a6ea7e62f0ed
Author: Michael Hackstein <michael@arangodb.com>
Date:   Mon Jun 6 17:05:23 2016 +0200

    Fixed cloning of ShortestPathNode. Also fixed explainer to display Shortest Path Node.

commit 884df03a15ca936367bc79fdf339f633ae6d88a5
Merge: 3a28e21 2477077
Author: Michael Hackstein <michael@arangodb.com>
Date:   Mon Jun 6 16:10:10 2016 +0200

    Merge branch 'devel' of github.com:arangodb/arangodb into AQL_GRAPHICATION

commit 3a28e210cc6e6097febd7fb0629723ee38dced48
Author: Michael Hackstein <michael@arangodb.com>
Date:   Mon Jun 6 16:09:56 2016 +0200

    Now allow to stringify the name of SHORTEST_PATH_NODE.

commit f3898a0a4bb37af46de50a740f43f4e00076c9fb
Merge: a284d2f 7574e60
Author: Michael Hackstein <michael@arangodb.com>
Date:   Mon Jun 6 16:03:11 2016 +0200

    Merge branch 'AQL_GRAPHICATION' of github.com:arangodb/arangodb into AQL_GRAPHICATION

commit 7574e6005a3b377f23180d1a4ff1d07262576144
Author: jsteemann <jan@arangodb.com>
Date:   Mon Jun 6 16:01:35 2016 +0200

    attempt to init remote blocks in AQL queries

commit a284d2f4803371e2f43af28b36ca77c9d7722f8a
Author: Michael Hackstein <michael@arangodb.com>
Date:   Mon Jun 6 15:37:38 2016 +0200

    Added ShortestPathNode as TypeName

commit 6a283fad9469622d1b6f5a955b17a98861ff839c
Merge: cfaf2c0 d54030e
Author: Michael Hackstein <michael@arangodb.com>
Date:   Mon Jun 6 13:38:57 2016 +0200

    Merge branch 'devel' of github.com:arangodb/arangodb into AQL_GRAPHICATION

commit cfaf2c06885aa65b5289e2b8c3866bcf791989f8
Author: Michael Hackstein <michael@arangodb.com>
Date:   Mon Jun 6 11:33:37 2016 +0200

    Fixed Path Uniqueness of vertices in local case

commit 372298c78732dcdf936e3796287d2f7d3c10e3a8
Merge: d55fe00 442c7d0
Author: Michael Hackstein <michael@arangodb.com>
Date:   Mon Jun 6 11:32:29 2016 +0200

    Merge branch 'devel' of github.com:arangodb/arangodb into AQL_GRAPHICATION

commit d55fe0074f78d0cd567ca1c8d8873f06aba3855f
Merge: 3179c30 9e3c9e3
Author: Michael Hackstein <michael@arangodb.com>
Date:   Mon Jun 6 10:50:26 2016 +0200

    Merge branch 'devel' of github.com:arangodb/arangodb into AQL_GRAPHICATION

commit 3179c30b068ac384fa8d7723dac95d2ba5731949
Merge: 20bca1c 9fa9d49
Author: Michael Hackstein <michael@arangodb.com>
Date:   Mon Jun 6 10:50:09 2016 +0200

    Merge branch 'devel' of github.com:arangodb/arangodb into AQL_GRAPHICATION

commit 20bca1c25956789f695765aab498112776296e71
Merge: 4f148ba e843719
Author: Michael Hackstein <michael@arangodb.com>
Date:   Mon Jun 6 09:32:41 2016 +0200

    Merge branch 'devel' of github.com:arangodb/arangodb into AQL_GRAPHICATION

commit 4f148baafef979a61d8d195b6bed7cdea058ff2e
Author: Michael Hackstein <michael@arangodb.com>
Date:   Fri Jun 3 16:33:23 2016 +0200

    Fixed vertex uniqueness in Cluster case. Still fails in single though

commit 533be3b15c4d2899c1c287cc6f5224260210c7d2
Merge: fc3d65e a3032db
Author: Michael Hackstein <michael@arangodb.com>
Date:   Fri Jun 3 13:58:50 2016 +0200

    Merge branch 'devel' of github.com:arangodb/arangodb into AQL_GRAPHICATION

commit fc3d65ebf529344e8870898efb1ec965a88ee106
Author: Michael Hackstein <michael@arangodb.com>
Date:   Fri Jun 3 13:33:47 2016 +0200

    Replaced callback function in PathEnumerator to get Vertices by a real struct, due to issue with virtual function.

commit cac533bbaf195eb1bad5e9428402e3aeb895551f
Author: Michael Hackstein <michael@arangodb.com>
Date:   Thu Jun 2 18:06:38 2016 +0200

    Fixed Namespace issue. was okay for clang but not for g++

commit 4f046ad5d43a5654c8e9e35dc178d325588a8f4e
Author: Michael Hackstein <michael@arangodb.com>
Date:   Thu Jun 2 17:56:28 2016 +0200

    Fixed memmory issues for ShortestPath in cluster. Seems to be working now. Let full test run start.

commit f8ace613fefaefd5236e0fae47a98c13baff5b77
Author: Michael Hackstein <michael@arangodb.com>
Date:   Thu Jun 2 15:20:46 2016 +0200

    First Implementation of ShortestPath in cluster. Seems to be working with default weight but not with attribute-based weight.

commit 49ddf78902f2c814c6dddccc1d4fef7318eeb098
Merge: 31b81f3 b469cea
Author: Michael Hackstein <michael@arangodb.com>
Date:   Thu Jun 2 09:17:53 2016 +0200

    Merge branch 'devel' of github.com:arangodb/arangodb into AQL_GRAPHICATION

commit 31b81f39530138204bd2f2f9bae33f81a7948cd5
Author: Michael Hackstein <michael@arangodb.com>
Date:   Wed Jun 1 17:50:54 2016 +0200

    Unified the shortest Path finders. The shortest path block now directly creates a finder and reuses it throughout the AQL. It does not go via V8Traverser any more. Next Step: Expander Functions for cluster ShortestPath.

commit db402142e4f664f9997853c9f77b60a5d30fa7c6
Author: Michael Hackstein <michael@arangodb.com>
Date:   Wed Jun 1 14:40:58 2016 +0200

    Removed _api/graph test. The _api/graph does not exist any more

commit a481570346935be11553047f40957e1cf719a9de
Author: Michael Hackstein <michael@arangodb.com>
Date:   Wed Jun 1 14:40:06 2016 +0200

    Fixed inconsistency in RocksDB functions.

commit 2dc6811f9b7632ab12f7a534e7bb8673cfaed526
Author: Michael Hackstein <michael@arangodb.com>
Date:   Wed Jun 1 14:39:37 2016 +0200

    Fixed all tests after removing blueprints module

commit e2d68832e6744b6c11d8b5ecd24f50892aafd0f0
Author: Michael Hackstein <michael@arangodb.com>
Date:   Wed Jun 1 11:43:38 2016 +0200

    Removed all libraries for the deprecated graph-blueprints module. They can all be replaced by general graphs now. The have been deprecated since 2.4

commit 51330ea34c117e2ed19dc3dd249f460dbb75b281
Author: Michael Hackstein <michael@arangodb.com>
Date:   Wed Jun 1 10:38:15 2016 +0200

    Fixed DISTANCE_TO and SHORTEST_PATH in general-graph module. It was not moved to AQL only yet.

commit c876fe736306f0bac1655e37ed6acf75976ac1ec
Author: Michael Hackstein <michael@arangodb.com>
Date:   Wed Jun 1 09:22:19 2016 +0200

    Removed now obsolete graph AQL JS code.

commit 18891b346dcd519486c0540bc68b05b2359caf43
Author: Michael Hackstein <michael@arangodb.com>
Date:   Wed Jun 1 09:20:54 2016 +0200

    Replaced GRAPH_ECCENTRICITY by a call in the general graph module and relaced all it's tests.

commit 06371d4d2fbd8e77e0caed82d595f250835a909b
Merge: d17c3c7 8dde0e8
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue May 31 18:44:03 2016 +0200

    Merge branch 'devel' of github.com:arangodb/arangodb into AQL_GRAPHICATION

commit d17c3c7d927abba24beffde6da2990e095d4b1c3
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue May 31 18:29:01 2016 +0200

    Removed BETWEENNESS and ABSOLUTE_BETWEENNESS from AQL and moved it to the general-graph module.

commit efa566ba99394eb2367fe7734fe09868302b5c14
Author: Michael Hackstein <michael@arangodb.com>
Date:   Fri May 27 14:11:22 2016 +0200

    Removed GRAPH_CLOSENESS from AQL and Tests. Reimplemented it in general-graph module instead

commit 0eff3d38947627414972603d95e36ed6beb7a8de
Author: Michael Hackstein <michael@arangodb.com>
Date:   Fri May 27 12:28:57 2016 +0200

    Entirely removed GRAPH_ABSOLUTE_CLOSENESS from AQL. general_graph still offers _absoluteCloseness(). Now general_graph also offers _farness() which is identical and the correct academic name for the result of this function. Also tests are adopted.

commit b3e7678343c380cceb5ae71bca3071ce855baf9e
Author: Michael Hackstein <michael@arangodb.com>
Date:   Fri May 27 11:10:50 2016 +0200

    Removed ABSOLUTE_ECCENTRICITY function from AQL Executor and deleted the JS code for it

commit 904527ce53475485ff1a89f51991a6781573d97a
Author: Michael Hackstein <michael@arangodb.com>
Date:   Fri May 27 10:57:13 2016 +0200

    Reimplemented ABSOLUTE_ECCENTRICITY as AQL only variant.

commit 42a5230b6fabf14ced7a51636a7342a52504a32d
Author: Michael Hackstein <michael@arangodb.com>
Date:   Fri May 27 10:56:37 2016 +0200

    Reactivated bi-directional search in ShortestPath. Was deactivated by accident and algorithm is only correct if activated.

commit 9d61dfd18e1cdb900c39f9bc6d2bb7466a86c7d7
Author: Michael Hackstein <michael@arangodb.com>
Date:   Wed May 25 16:25:35 2016 +0200

    Entirely removed GRAPH_RADIUS from AQL. Moved tests to general-graph module _radius() function. Same for _diameter.

commit 4a8e51483e292b501d1d2ad9983513bc99312bef
Author: Michael Hackstein <michael@arangodb.com>
Date:   Wed May 25 14:52:53 2016 +0200

    Replaced call of _diameter with a new AQL query not using the deleted GRAPH_DIAMETER function

commit 15fc45e438515980ea39d711fcfca5edd78a5bea
Author: Michael Hackstein <michael@arangodb.com>
Date:   Wed May 25 13:05:39 2016 +0200

    Entirely removed GRAPH_DISTANCE_TO from AQL

commit bdaa20cff54170abdcd2f9ec4d246765151d71e5
Author: Michael Hackstein <michael@arangodb.com>
Date:   Wed May 25 12:55:20 2016 +0200

    Implemented all functions in the ShortestPathNode it is now clone-able and serves estimates. Also added Flags for ShortestPath and Traversal in the JSON representation.

commit ae6c922f56c4498aaaba7f76ffb37a0560ca1476
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue May 24 17:09:15 2016 +0200

    Removed debug output in test

commit dce2ea1e2f1c5244c26bb9fa3b783454aa4e8163
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue May 24 17:07:12 2016 +0200

    Removed GRAPH_DISTANCE_TO from test. It was identical to SHORTEST_PATH anyways...

commit c4b48bc9457fd7112feb96f9e619568ad79d29ec
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue May 24 17:00:12 2016 +0200

    Removed GRAPH_SHORTEST_PATH from stresstest and brute test

commit 87a0b725d1cef05473eff0a2b48c3ac52a549192
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue May 24 16:57:52 2016 +0200

    Removed SHORTEST_PATH and GRAPH_SHORTEST_PATH from Tests. Replaced them by there new IN DIRECTION SHORTEST_PATH equivalent.

commit 72c3cbf69dcf6aa4f167d77b29271e217ce0e2bc
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue May 24 16:55:50 2016 +0200

    Removed SHORTEST_PATH and GRAPH_SHORTEST_PATH from AQL Executor.

commit 6499ca12802f45f69e30e09fbbcebdcbca88deaa
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue May 24 14:17:35 2016 +0200

    Shortest Path now honors a distance attribute. Basic AQL graph tests are green yay ;). Now former general-graph tests are next.

commit 316280400585d9af5e09f4365c39fe80423d9eef
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue May 24 09:48:21 2016 +0200

    Fixed variable usage in Shortest Path. However now it does not terminate

commit 84359e3223cbf01b283b9bda2f6de8b367df236e
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue May 24 09:17:46 2016 +0200

    Shortest Path now correctly rejects invalid start nodes

commit c8a831e0d6b95445ea3cd276d0c0c0ad2ceb4901
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue May 24 09:13:06 2016 +0200

    Fixed a bug with autocasting to bool where it was not expected

commit 0300e1b4aa120fc04db7da620a905ed86bedd068
Author: Michael Hackstein <michael@arangodb.com>
Date:   Mon May 23 18:08:29 2016 +0200

    First shortest-path runs are successful. First tests are getting green again. Make Tests Green Again

commit d593f3317e8578e307c2246e65d3452d78cf043e
Author: Michael Hackstein <michael@arangodb.com>
Date:   Mon May 23 15:58:22 2016 +0200

    Added reading of start and target vertex in ShortestPath Block.

commit 46ce5b7a3cf6abb4a01d8e004b34ad2118573430
Author: Michael Hackstein <michael@arangodb.com>
Date:   Mon May 23 15:23:25 2016 +0200

    Fixed Constructor variable ordering

commit 23d666d929bdf84c302fe4729faeab2ab77886b8
Author: Michael Hackstein <michael@arangodb.com>
Date:   Mon May 23 15:20:44 2016 +0200

    Added the required parameters and implementation to return the result in ShortestPathBlock. Tests still RED
    . Next actually compute the path

commit 015da1ccdf50ca1123d600ac4b1afb460ad2b2dc
Author: Michael Hackstein <michael@arangodb.com>
Date:   Mon May 23 13:32:42 2016 +0200

    Prepared the ShortestPathFinder to get injected the result container instead of creating it's own one. Deactivated parts of the OLD api, shall be deleted soon.

commit bd72afa565ecaea38a4979180d4aadc0edbf52d7
Author: Michael Hackstein <michael@arangodb.com>
Date:   Fri May 20 15:40:56 2016 +0200

    Added infrastructure for new Shortest Path Node in AQL. It is not Functional yet and will throw errors. Tests are RED

commit 15b76dc27c118f60ee58cf2154ba84ee1311f8e7
Merge: 625e305 893802e
Author: Michael Hackstein <michael@arangodb.com>
Date:   Fri May 20 15:38:51 2016 +0200

    Merge branch 'devel' of github.com:arangodb/arangodb into AQL_GRAPHICATION

commit 625e305ca163fcbe928e5353bd06f4232664a0ee
Author: Michael Hackstein <michael@arangodb.com>
Date:   Thu May 19 16:23:14 2016 +0200

    Activated the AQL syntax for new non function SHORTEST_PATH in AQL. Also adapted One test file for new Syntax. However the feature is NOT implement at this point. Some Tests are RED

commit a935e9d9f962a2bcb6fdeed5facec2486ab4dc06
Author: Michael Hackstein <michael@arangodb.com>
Date:   Thu May 19 12:49:18 2016 +0200

    Removed _paths test. It does not exist any more

commit 1c182858a4d9427b0be9ec5749b587e40f804386
Author: Michael Hackstein <michael@arangodb.com>
Date:   Thu May 19 12:47:06 2016 +0200

    Fixed AQL_GRAPH tests

commit 5cd4e79ab77123db322defc5dd2f9417bc99e80e
Author: Michael Hackstein <michael@arangodb.com>
Date:   Thu May 19 11:42:47 2016 +0200

    Fixed all tests in aql-general-graph

commit a8ddd72ffa2ee29d085ea4c5002190149200a3b8
Author: Michael Hackstein <michael@arangodb.com>
Date:   Thu May 19 11:39:24 2016 +0200

    Removed GRAPH_COMMON_PROPERTIES from tests and AQL.

commit 4c0be7fdd3d610a2196aec3e93338bf3851f3606
Merge: 98e270e 7ca4d39
Author: Michael Hackstein <michael@arangodb.com>
Date:   Thu May 19 11:17:59 2016 +0200

    Merge branch 'devel' of github.com:arangodb/arangodb into AQL_GRAPHICATION

commit 98e270e47a1f85df47c54e4461457bdb10331696
Merge: ff177cc 1f9f46b
Author: Michael Hackstein <michael@arangodb.com>
Date:   Thu May 19 09:35:15 2016 +0200

    Merge branch 'devel' of github.com:arangodb/arangodb into AQL_GRAPHICATION

commit ff177ccf47cda7778212621df7b512c8a6a859ee
Author: Michael Hackstein <michael@arangodb.com>
Date:   Wed May 18 18:04:36 2016 +0200

    Removed PATHS() from AQL and tests. It can be replaced by Path Pattern Matching.

commit e568d5966e516c1bc6be9da79b01fd740bf2c4ff
Author: Michael Hackstein <michael@arangodb.com>
Date:   Wed May 18 17:38:49 2016 +0200

    Removed GRAPH_PATHS from Tests and from AQL. It is easily replaceable by Pattern Matching.

commit 107b2890397b4076042dc9b08ea2a7c1ab7f0284
Author: Michael Hackstein <michael@arangodb.com>
Date:   Wed May 18 16:59:36 2016 +0200

    Removed GRAPH_COMMON_NEIGHBORS from aql.js

commit dd7f6b4b68099c9c861b05dd2506cbd0f8b9c22d
Author: Michael Hackstein <michael@arangodb.com>
Date:   Wed May 18 16:54:39 2016 +0200

    Fixed some COMMON_NEIGHBORS transformation. Uniqueness is not guarenteed accross start vertices. It was with GRAPH_COMMON_NEIGHBORS.

commit 863a2e3b4728add2bad088c021d3bcf54ec6f569
Merge: 9a940aa 0064e25
Author: Michael Hackstein <michael@arangodb.com>
Date:   Wed May 18 15:19:40 2016 +0200

    Merge branch 'devel' of github.com:arangodb/arangodb into AQL_GRAPHICATION

commit 9a940aa8d8d9c74d26b819d54d743c369dcfa350
Author: Michael Hackstein <michael@arangodb.com>
Date:   Wed May 18 11:07:12 2016 +0200

    Added a new uniqness version for vertices. Not complete yet

commit 8c3db5519ff85b13a24c326c5982102226272635
Author: Michael Hackstein <michael@arangodb.com>
Date:   Wed May 18 09:13:03 2016 +0200

    Replaced GRAPH_COMMON_NEIGHBORS with their new equivalent in AQL in the tests.

commit 7c9782900d798019965c4ab685c24d624dd53238
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue May 17 16:35:32 2016 +0200

    AQL does not export GRAPH_NEIGHBORS any more

commit e23c3f2b9993d62290da7966419b58e9d391efe2
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue May 17 16:35:06 2016 +0200

    Replaced vertexUniqueness with uniqueVertices and edgeUniqueness with uniqueEdges as proposed in the preliminary documentation document.

commit b589f6c1113f5e02016eac0a49c0b5ea9f42620e
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue May 17 15:28:53 2016 +0200

    Removed GRAPH_NEIGHBORS from Tests and replaced them by their corresponding AQL equivalent. Only two of them are red because uniqueness is not correct yet.

commit 0bc36996429493e9ceadcb3ea82a126f2cfa66fa
Merge: 9d0473a 39083cb
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue May 17 12:48:25 2016 +0200

    Merge branch 'devel' of github.com:arangodb/arangodb into AQL_GRAPHICATION

commit 9d0473aeada534cd47e99dab3ceae4f91ed4ebbb
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue May 17 12:48:13 2016 +0200

    Implemented base version of vertex Uniqueness in AQL traversal. Single Server only.

commit 980fd6aaa09666dbe55e3811fb6430d49bfd5a1a
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue May 17 11:02:24 2016 +0200

    Edge Uniqueness levels also implemented in Cluster Case. Not yet tested due to errors in the agancy right now.

commit 73e3bf1da26afbdf0dffe815629003364e2469c4
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue May 17 10:57:51 2016 +0200

    Implemented all levels of edgeUniqueness in local Traversal case.

commit 2aba559e8db4ab7ac4d297590723277bd9a305cd
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue May 17 10:42:54 2016 +0200

    Now the options test actually checks for correctness of result.

commit 2b36bf92f3cf8ff6d0bc80079fddfebf36c1df92
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue May 17 10:38:01 2016 +0200

    Started Adding tests for OPTIONS in AQL Traversal

commit 86874ae290da2ba39e5cd42ec5ddaab0487091b2
Merge: f182f24 f6b7bd2
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue May 17 10:37:30 2016 +0200

    Merge branch 'devel' of github.com:arangodb/arangodb into AQL_GRAPHICATION

commit f182f244fdc38c6648fc5527a518ab41e73c6865
Author: Michael Hackstein <michael@arangodb.com>
Date:   Fri May 13 09:45:14 2016 +0200

    Typo fix

commit 15b63ef8a2c9b02af5917634319a5a461905402a
Author: Michael Hackstein <michael@arangodb.com>
Date:   Thu May 12 17:29:06 2016 +0200

    AQL Traverser now reacts to option: edgeUniqueness (NONE or PATH). Test yet missing.

commit 1ebd4abd45e085679eb3ef24b6cff6d6debe4f0a
Author: Michael Hackstein <michael@arangodb.com>
Date:   Thu May 12 15:34:03 2016 +0200

    Added infrastructure to insert OPTIONS into AQL Traversals. Right now they are only parsed not used.

commit 5440118412b43024beb451e47cc59e33591dbf84
Author: Michael Hackstein <michael@arangodb.com>
Date:   Thu May 12 13:29:51 2016 +0200

    Removed NEIGHBORS() from tests and replaced them by new syntax. Tests are RED.

commit 9fc6ec448d970b27cda16abc7f51217d8e2ba3de
Merge: 8084e28 07aa8b4
Author: Michael Hackstein <michael@arangodb.com>
Date:   Thu May 12 11:31:43 2016 +0200

    Merge branch 'devel' of github.com:arangodb/arangodb into AQL_GRAPHICATION

commit 8084e2804d4e4c537c9c7719303362b08e2fe0bc
Author: Michael Hackstein <michael@arangodb.com>
Date:   Thu May 12 11:30:09 2016 +0200

    Started Moving NEIGHBORS => AQL PPM. Test is RED.

commit afda95eb59b97f43b2b3ad891bb404d69ca5414e
Author: Michael Hackstein <michael@arangodb.com>
Date:   Thu May 12 10:55:42 2016 +0200

    Removed GRAPH_EDGES from AQL.

commit 3766babe444781555f5373287aa98f45b7a32406
Author: Michael Hackstein <michael@arangodb.com>
Date:   Thu May 12 10:53:20 2016 +0200

    Removed the old Graph Datasource from Traversals. Only the newer generalGraph is available.

commit 6ace9c992d3d06c5cb9c9e24c117e821412f63f1
Author: Michael Hackstein <michael@arangodb.com>
Date:   Wed May 11 16:31:42 2016 +0200

    Removed _getConnectingEdges from Test. Is not supported any more.

commit fbd28aae6f11782e34fcfb51887c89c878705f0a
Author: Michael Hackstein <michael@arangodb.com>
Date:   Wed May 11 14:55:03 2016 +0200

    Removed GRAPH_EDGES from AQL tests

commit e032683ccf79f185808bfadc154b587af39b5818
Author: Michael Hackstein <michael@arangodb.com>
Date:   Wed May 11 12:42:06 2016 +0200

    Removed EDGES function from AQL.

commit 42b2c31d1eddb6b2790d21d6aedfeb6c3892919f
Author: Michael Hackstein <michael@arangodb.com>
Date:   Wed May 11 11:10:08 2016 +0200

    Replaced EDGES() in Tests by the new corresponding usage of Path Pattern Matching

commit 110d1b497f7df4b94709bfd2149c72dbf4f28e8c
Author: Michael Hackstein <michael@arangodb.com>
Date:   Wed May 11 11:08:09 2016 +0200

    Fixed minor bugs in Cluster Path Pattern Matching. It did not react properly on Invalid user input.

commit 8f47a3a01c0928825c13ceba5f60c3e1fe5e4691
Author: Michael Hackstein <michael@arangodb.com>
Date:   Tue May 10 17:13:33 2016 +0200

    Removed unused AST reference in Index Lookups for Ast Conditions
2016-06-07 13:58:21 +02:00
Jan Steemann 15d5037827 added tests 2016-06-07 13:47:20 +02:00
Kaveh Vahedipour 6cf7caad7c Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-07 12:31:45 +02:00
Jan Steemann 274cfeb5c2 added regex operators ~= and !~ 2016-06-07 12:20:03 +02:00
Frank Celler 80d3164622 state after compaction reload with no logs 2016-06-07 09:32:47 +00:00
jsteemann 7bceb5cd31 micro optimizations 2016-06-07 10:44:01 +02:00
Andreas Streichardt 50ea64a5fb Change agency id to be 0 by default in --help 2016-06-07 10:19:57 +02:00
Kaveh Vahedipour 02b20689f3 need to repair multi-host agency 2016-06-07 09:04:39 +02:00
jsteemann d87aa2b420 added ctor for AuthResult to prevent UB 2016-06-07 00:11:10 +02:00
Frank Celler 69e254d28a trying to fix cleanup 2016-06-06 23:53:53 +02:00
Max Neunhoeffer d0693b8fc1 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-06 23:52:29 +02:00
Max Neunhoeffer f9fc22d0b4 Minor tweak to error handling in performRequests. 2016-06-06 23:51:58 +02:00
jsteemann 031094763b renamed REGEX_MATCH to REGEX_TEST 2016-06-06 23:37:29 +02:00
jsteemann 9385e9b36a Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-06 22:44:52 +02:00
Max Neunhoeffer 6d9b68fca6 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-06 22:41:22 +02:00
Max Neunhoeffer d72d9a7a2c Use performRequests for countOnCluster. 2016-06-06 22:40:40 +02:00
jsteemann c2768d5a86 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-06 22:33:01 +02:00
Frank Celler 16c6c2087d added unprepare 2016-06-06 18:27:51 +02:00
Jan Steemann 1cda48bfc2 renamed REGEX to REGEX_MATCH 2016-06-06 17:58:16 +02:00
jsteemann dc0c2506f4 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-06 17:17:05 +02:00
Kaveh Vahedipour 96061c18ba Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-06 17:08:33 +02:00
Kaveh Vahedipour 3090710b31 bug in subjobs iteration 2016-06-06 17:08:22 +02:00
Jan Steemann 1ff127e590 removed unused V8VPackWrapper 2016-06-06 17:05:20 +02:00
jsteemann 325aa13795 merge with velocypack 2016-06-06 16:59:36 +02:00
Kaveh Vahedipour 2477077944 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-06 16:01:56 +02:00
Kaveh Vahedipour 5c94734fe1 finished moveshard 2016-06-06 16:01:48 +02:00
Max Neunhoeffer 78636aabe5 Fixed a crash in RestServerFeature::getJWTSecret. 2016-06-06 15:48:06 +02:00
Kaveh Vahedipour a2af8e1176 move shards are planned correctly 2016-06-06 15:04:10 +02:00
Max Neunhoeffer fef2eb2f45 Take out old dead code. 2016-06-06 14:56:55 +02:00
Max Neunhoeffer 297cfa4e86 Fix behaviour of ClusterComm::performRequests. 2016-06-06 14:40:25 +02:00
Max Neunhoeffer d54030eaac Fix bug in ClusterComm::asyncRequest. 2016-06-06 13:37:04 +02:00
Max Neunhoeffer a5661b404b Fix error handling. 2016-06-06 13:27:44 +02:00
Max Neunhoeffer fa3fede21f Improve error handling. 2016-06-06 13:27:11 +02:00
Max Neunhoeffer 3dfecf8293 Improve error handling. 2016-06-06 13:26:19 +02:00
Max Neunhoeffer 01557405ce Fix dropIndex. 2016-06-06 13:24:24 +02:00
Max Neunhoeffer 19747c8b6c Fix crash due to wrong usage of asyncRequest. 2016-06-06 11:30:39 +02:00
Max Neunhoeffer 9e3c9e3469 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-06 10:50:17 +02:00
Kaveh Vahedipour 5dfa0c0adb abolished const ref members in supervision jobs 2016-06-06 10:28:07 +02:00
Max Neunhoeffer 487787d01a Polish ClusterMethod w.r.t. error handling together with Hacki. 2016-06-06 10:27:24 +02:00
Kaveh Vahedipour 46553392ef abolished const ref members in supervision jobs 2016-06-06 09:40:11 +02:00
Kaveh Vahedipour 3386c6d371 abolished const ref members in supervision jobs 2016-06-06 09:34:59 +02:00
Kaveh Vahedipour a496d6bea8 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-06 09:30:42 +02:00
Kaveh Vahedipour 912e5c9488 abolished const ref members in supervision jobs 2016-06-06 09:30:36 +02:00
Jan Steemann e8437192c5 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-06 08:35:50 +02:00
Max Neunhoeffer 9085caf702 Fix error handling around asyncRequest and performRequests. 2016-06-05 23:52:12 +02:00
Max Neunhoeffer 20ef93d76b Cleanup of error handling for asyncRequest and syncRequest.
I have added a thorough description of events to the comments
in ClusterComm.h. This should enable everybody to do proper
error handling when using ClusterComm::asyncRequest and
ClusterComm::syncRequest.
2016-06-04 23:05:48 -06:00
Max Neunhoeffer a2d237f84d Add error handling which was missing in some places. 2016-06-04 18:41:11 -06:00
Max Neunhoeffer c59f3e3896 Silence a compiler warning. 2016-06-04 16:22:31 -06:00
Max Neunhoeffer 0cdee7e412 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-04 16:20:26 -06:00
Max Neunhoeffer 7ab83d4050 Slightly change signature of asyncRequest.
Error handling was inconsistent. This is cleaned up now.
2016-06-04 16:19:54 -06:00
jsteemann 5270ada10c save replicator passwd 2016-06-04 12:42:47 +02:00
Jan Steemann 77d3fe12ac removed checks for obsolete collections 2016-06-03 17:36:04 +02:00
Jan Steemann 93f404b037 updated documentation 2016-06-03 17:24:12 +02:00
Wilfried Goesgens 6ffc619eee Publish variables 2016-06-03 16:34:10 +02:00
Jan Steemann b69b9948f7 fixed Visual Studio warnings 2016-06-03 16:33:15 +02:00
Wilfried Goesgens 2a06316ae6 Add servicemain back. 2016-06-03 16:28:12 +02:00
Andreas Streichardt 2d0c661f81 change default to system-only so foxxes are useable 2016-06-03 16:15:36 +02:00
Kaveh Vahedipour 89b941d961 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-03 14:56:24 +02:00
Kaveh Vahedipour 5da3d72758 supervision bug 2016-06-03 14:56:18 +02:00
Max Neunhoeffer ee3216b021 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-03 06:33:06 -06:00
Kaveh Vahedipour 00d6111a3e server health for aardvark 2016-06-03 14:27:04 +02:00
Max Neunhoeffer d8573bd009 Revert "Bugfixes in error handling."
This reverts commit ab7ab515fb, which was
nonsensical.
2016-06-03 06:26:03 -06:00
Kaveh Vahedipour 2ab638160e server health for aardvark 2016-06-03 13:44:50 +02:00
Kaveh Vahedipour b93981df61 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-03 13:32:24 +02:00
Kaveh Vahedipour 2821d3ab86 jslint error 2016-06-03 13:32:15 +02:00
Frank Celler 8da37f59eb switch to RandomGenerator 2016-06-03 13:30:28 +02:00
Frank Celler 00c7b96ade silenced warning 2016-06-03 13:30:28 +02:00
Jan Steemann 5925b3a077 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-03 12:56:42 +02:00
Jan Steemann 6412200f27 added /_api/aql-builtin 2016-06-03 12:56:18 +02:00
Jan Steemann 8b1366205a added 28 compatibility flag for dumping 2016-06-03 12:47:51 +02:00
Kaveh Vahedipour 427453bcc7 server health for aardvark 2016-06-03 12:19:39 +02:00
Jan Steemann 38dbbfdf9d changed division by zero result 2016-06-03 11:50:45 +02:00
Andreas Streichardt cbc9b3a749 fix hasRunOnce 2016-06-03 10:55:43 +02:00
Frank Celler ee98b59e2f changed reload to outdated 2016-06-03 10:38:47 +02:00
Jan Steemann 5c0dd05308 added PI() function 2016-06-03 09:25:46 +02:00
Andreas Streichardt 465252e415 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-06-02 19:51:47 +02:00
Andreas Streichardt 0129e968df Fix authentication_parameters 2016-06-02 19:51:38 +02:00
Wilfried Goesgens 8502bfa4d3 Refactor windows service infrastructure 2016-06-02 18:30:23 +02:00
jsteemann a9451e09d9 removed now-invalid asserts 2016-06-02 17:35:36 +02:00
Kaveh Vahedipour 8c882c6b3b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-02 17:22:17 +02:00
Kaveh Vahedipour 6f62f5baa3 checking before range loops for emptyness 2016-06-02 17:22:12 +02:00