1
0
Fork 0
Commit Graph

991 Commits

Author SHA1 Message Date
Max Neunhoeffer f09ecd21b2 Logging level for background job debugging down to DEBUG. 2017-01-29 23:05:33 +01:00
Max Neunhoeffer 6993ca32c7 Add more debugging output on log level info around Schmutz script. 2017-01-28 20:28:58 +01:00
Alan Plum cbb77cf591
Only show codeFrames for swagger errors in dev mode 2017-01-27 02:03:51 +01:00
Alan Plum 3370ecbadd
Nicer error page and code frames 2017-01-27 01:57:30 +01:00
Alan Plum c268b2db91
Keep stacktraces out of error messages
They are already reported much more consistently via 'cause' so methods logging them should exploit that instead.
2017-01-27 01:57:29 +01:00
Andreas Streichardt 2476cf7146 Fix drop and add reporting in agency current 2017-01-26 14:00:56 +01:00
Andreas Streichardt 0365b3eb49 Fix index error reporting and add test for it 2017-01-26 12:15:42 +01:00
Max Neunhoeffer 1468628e58 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2017-01-26 10:47:26 +01:00
Max Neunhoeffer fe1b10e6af Fix waitForSyncRepl. 2017-01-26 10:47:03 +01:00
Andreas Streichardt 4e6371630a Fix reporting index and collection errors 2017-01-26 10:44:15 +01:00
Andreas Streichardt cffc981cf9 Fix jslint 2017-01-25 12:42:30 +01:00
Andreas Streichardt cca8fbc6b3 Less log spam... 2017-01-25 12:41:30 +01:00
Andreas Streichardt af8331119b Do not spam useless log messages 2017-01-25 12:31:53 +01:00
Max Neunhoeffer f913b10d22 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2017-01-25 11:37:37 +01:00
Max Neunhoeffer aaa2738b57 Log level for dropping local shard back to debug. 2017-01-25 11:36:50 +01:00
Andreas Streichardt acbb892612 Classic...fix unittest..fail real system 2017-01-24 19:07:34 +01:00
Andreas Streichardt d91a6af1a7 Remove singletransaction and fetch collection from vocbase directly 2017-01-24 18:51:05 +01:00
Andreas Streichardt d3642f1487 First update current tests 2017-01-24 18:35:26 +01:00
Andreas Streichardt ea220a22cc Make updatecurrentcollection better testable 2017-01-24 16:51:12 +01:00
Max Neunhoeffer 5e6d2c2045 Fix acquire of read locks for sync. replication. 2017-01-24 13:55:56 +01:00
Max Neunhoeffer 539ae7275e Improve formatting. 2017-01-24 13:29:05 +01:00
Andreas Streichardt 40af2963f4 Tackle updateCurrentDatabases 2017-01-23 15:29:25 +01:00
Andreas Streichardt b56621a01b First current tests 2017-01-23 15:29:25 +01:00
Andreas Streichardt 8fa235e715 oops 2017-01-20 12:10:16 +01:00
Andreas Streichardt b594257677 More tests 2017-01-20 12:03:12 +01:00
Andreas Streichardt 4afe4e431c more tests 2017-01-20 09:59:41 +01:00
Andreas Streichardt dec955826b Add sync tests 2017-01-19 18:40:09 +01:00
Andreas Streichardt 390cf295fe Fix lint 2017-01-19 17:29:05 +01:00
Andreas Streichardt 5a101ed6f0 Fix unloading collections 2017-01-19 17:05:41 +01:00
Max Neunhoeffer 1e77d6abca Fix access to global ERRORS table. 2017-01-19 16:04:35 +01:00
Kaveh Vahedipour c32ffaf349 jslint needs informing of globalness of ERRORS 2017-01-19 15:17:19 +01:00
Max Neunhoeffer f9426e9e0d Make syncFinalize more resilient.
It is possible that an in-sync follower does not notice and tries
again to get in sync. This should be OK now.
2017-01-19 14:20:20 +01:00
Max Neunhoeffer 370cb09d89 Merge branch 'devel' into schmutz-ng 2017-01-19 10:32:43 +01:00
Andreas Streichardt 9bcaf08753 Merge branch 'schmutz-ng' of github.com:arangodb/arangodb into schmutz-ng 2017-01-18 18:07:24 +01:00
Andreas Streichardt a9ccdf86c1 Several movement fixes 2017-01-18 17:48:01 +01:00
Max Neunhoeffer c5cfc500ee Improve comments in cluster.js. 2017-01-18 10:47:50 +01:00
Frank Celler d290b74d55 fixed typos 2017-01-17 12:40:17 +01:00
Andreas Streichardt e90cc93e4a resign "a bit more" 2017-01-16 18:14:20 +01:00
Andreas Streichardt 10d3bd2200 Merge branch 'devel' into schmutz-ng 2017-01-16 15:22:17 +01:00
Andreas Streichardt 46b6c2659b Remove old schmutz 2017-01-16 15:20:09 +01:00
Andreas Streichardt f89b660056 Fix race during collection creation 2017-01-16 15:13:26 +01:00
Kaveh Vahedipour d7b61f1bde agency tests follow new leader 2017-01-16 14:10:09 +01:00
Max Neunhoeffer f35e3a7aaf Merge branch 'devel' into schmutz-ng 2017-01-16 09:54:09 +01:00
Frank Celler 6c368d70eb in case some-one throw a string 2017-01-13 21:15:46 +01:00
Andreas Streichardt 2a2cbf808a Do not update in endless loop 2017-01-13 17:55:22 +01:00
Andreas Streichardt b0792f1de3 Propagate errors during index creation 2017-01-13 13:21:41 +01:00
Andreas Streichardt 19b22ea9bf Partly fix the index schmutz 2017-01-13 11:30:05 +01:00
Andreas Streichardt 1dcbf0850a Implement sync replication 2017-01-12 18:21:37 +01:00
Max Neunhoeffer 7da0de6207 Merge branch 'schmutz-ng' of ssh://github.com/ArangoDB/ArangoDB into schmutz-ng 2017-01-12 16:34:22 +01:00
Max Neunhoeffer fe9116f7fb More Schmutz-NG.
Does not trigger sync repl yet.
2017-01-12 16:33:57 +01:00
Andreas Streichardt 97b49e79de Add cluster sync tests 2017-01-11 18:18:51 +01:00
Kaveh Vahedipour fe48bcb982 fixed for short names in frontend shard view 2017-01-11 16:31:19 +01:00
Max Neunhoeffer 062ec7ec1a Activate ng Schmutz for databases. 2017-01-10 23:36:46 +01:00
Max Neunhoeffer e9630b7aca First set of changes, not yet activated. 2017-01-10 16:54:51 +01:00
Max Neunhoeffer f47329f3c0 Mock new structure. 2017-01-10 13:41:16 +01:00
Andreas Streichardt 95cc704741 Ahhh jslint 2017-01-09 17:42:13 +01:00
Andreas Streichardt b51aebd596 additional error checking 2017-01-09 17:37:06 +01:00
Kaveh Vahedipour 0875353a26 all ArangoAgency.set rewritten in cluster.js 2017-01-09 17:30:36 +01:00
Kaveh Vahedipour 3b57e84865 missing semis 2017-01-09 14:56:53 +01:00
Kaveh Vahedipour 13076e9fc1 no locks left in cluster.js 2017-01-09 14:45:44 +01:00
Kaveh Vahedipour 1ff26054fa jslint needs satisfaction 2017-01-09 11:46:26 +01:00
Kaveh Vahedipour 853eb1849a oops 2017-01-09 11:11:28 +01:00
Kaveh Vahedipour 55985ed5de missing prototypes 2017-01-09 10:38:34 +01:00
Andreas Streichardt 13e3e8e673 more agency request mockery 2017-01-06 17:57:11 +01:00
Andreas Streichardt 11eb78c056 jslint 2017-01-06 17:28:39 +01:00
Andreas Streichardt b447051677 remove console.logs 2017-01-06 17:24:39 +01:00
Andreas Streichardt 466f932701 First steps to low level replication debugging 2017-01-06 17:19:07 +01:00
Kaveh Vahedipour a0af781630 to lock or not to lock 2017-01-06 14:46:57 +01:00
Kaveh Vahedipour e87182d971 more verbose output on failure to create plan 2017-01-06 09:38:37 +01:00
jsteemann dff5c448e4 fixed jslint 2017-01-03 14:58:07 +01:00
Kaveh Vahedipour 9d5a5537ce remove deceased agents from AgencyComm 2017-01-02 17:12:00 +01:00
Kaveh Vahedipour a2ee40d4f3 restarting agents inform rest of their new endpoints 2017-01-02 15:58:38 +01:00
Kaveh Vahedipour 1e8f44dcd0 increase plan too? 2016-12-30 14:03:37 +01:00
Kaveh Vahedipour 55ffd4c55f collections and current version 2016-12-30 13:54:55 +01:00
Kaveh Vahedipour 4928358e04 removing trace of agency locks part 1 2016-12-30 11:21:11 +01:00
Kaveh Vahedipour 572d294ec7 getting rid of locks in cluster.js 2016-12-29 17:44:03 +01:00
Kaveh Vahedipour b712640f42 getting rid of locks in cluster.js 2016-12-29 16:39:59 +01:00
Kaveh Vahedipour 6ec19a3136 getting rid of locks in cluster.js 2016-12-29 15:18:08 +01:00
Kaveh Vahedipour ff701ff57c getting rid of locks in cluster.js 2016-12-29 15:03:09 +01:00
Alan Plum 99ba80a542
Fix off-by-one in Foxx route 2016-12-20 01:43:14 +01:00
jsteemann 3939d5e2d8 don't log irrelevant message in generated Foxx apps 2016-12-15 16:18:07 +01:00
Alan Plum 3e93980ae9
Generate unique Swagger operationIds 2016-12-12 02:32:50 +01:00
Alan Plum 9a81d2cb63
Add support for Swagger tags 2016-12-12 02:32:50 +01:00
Alan Plum f2a6864db4
Require at least one arg in route def 2016-12-12 02:32:49 +01:00
Alan Plum d8bf7252e2
Document OAuth1 2016-12-09 15:28:36 +01:00
Alan Plum 0700cfa86a
Implement OAuth 1.0a 2016-12-06 18:30:11 +01:00
Andreas Streichardt 11bd9381d5 Add satellite collections 2016-12-06 16:40:50 +01:00
jsteemann 369b2c7bc6 added optional memory limit for AQL queries 2016-12-06 13:23:41 +01:00
jsteemann d09ac31051 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-11-25 11:18:56 +01:00
Michael Hackstein 37b124593f Unified ensureIndex on client and server libs. 2016-11-25 11:11:45 +01:00
jsteemann 817933c77b bugfixes for sync replication and collection status in cluster 2016-11-24 17:00:57 +01:00
Andreas Streichardt c4f5cb7474 debug logging 2016-11-24 13:27:58 +01:00
Alan Plum 4edb258ebb
Fix breaky multi-deps 2016-11-24 09:33:39 +01:00
Alan Plum a854cbf674
Fix Windows file path resolution 2016-11-22 14:02:01 +01:00
Jan Steemann 689c7fbdc3 fixed issue #2183 2016-11-21 13:41:49 +01:00
Alan Plum d6a063e28d
Allow multi-dependencies in Foxx 2016-11-18 17:22:07 +01:00
Alan Plum 593274b095
Sanitize paths in fm.requireService 2016-11-18 17:22:07 +01:00
Alan Plum 5493420a81
Make deps immutable 2016-11-18 17:22:07 +01:00
Alan Plum e12ba2ad3b
Allow descriptions in Foxx dependencies 2016-11-18 15:13:25 +01:00
Alan Plum 2ed6d8cc3e
Discard unknown Foxx configs in production
Fixes #2162
2016-11-18 11:47:00 +01:00
Alan Plum a73ce31e7b
Change format of Foxx API listScripts route 2016-11-17 17:29:51 +01:00
Kaveh Vahedipour acb187851f Merge pull request #2153 from de3/devel
fix upgrade/install foxx in cluster environment
2016-11-17 15:34:35 +01:00
Alan Plum 57cd82f88c
Fix swagger static path resolution 2016-11-15 18:08:06 +01:00
Alan Plum 8f6f022616
Unescape parts during Foxx routing 2016-11-15 17:38:15 +01:00
Alan Plum facee370fa
Fix static file serving for paths wth dots in them 2016-11-15 15:41:33 +01:00
Jan Steemann 19f771fcd6 issue #2168 2016-11-14 17:30:19 +01:00
Alan Plum c0a3f5a8a1
Better Foxx API error handling 2016-11-12 22:33:07 +01:00
Alan Plum 461cfdfcc2
Don't expose configuration in dev mode error page
Fixes #2156.
2016-11-08 16:41:10 +01:00
Edi 69ee438be3 fix upgrade/install foxx in cluster environment
When install/upgrade, arangodb response is "No such file or directory".
This is because serviveInfo path already join with temporary Path, and then
in "uploadToPeerCoordinators" it join twice with temporary path.
Another problem, arangodb upgrade url is "update" not "upgrade".
Last problem, when Sync foxx with another cluster, use "coordinatorTransactionID"
but there is no that key response from ArangoClusterComm.
2016-11-08 08:02:53 +07:00
Alan Plum ccb251e1f5
Better handling of routers & middleware in Swagger
Fixes #2148.
2016-11-04 20:06:08 +01:00
Alan Plum 735f0e5f6c
Resolve 'lib' for 3.x services
Fixes #2139.
2016-11-03 10:35:06 +01:00
jsteemann 68317bb4f2 added experimental `REGEX_REPLACE` AQL function 2016-11-03 00:40:19 +01:00
Alan Plum f630020269
Expose static req.reverse as module.context.reverse 2016-10-31 17:38:11 +01:00
Alan Plum 33b6a2b8eb
Fix failing swagger test
Adds missing signature variant for endpoint.response method.
2016-10-26 21:06:19 +02:00
Alan Plum 0950520eb5
Implement inline middleware 2016-10-26 18:16:18 +02:00
Alan Plum a999dee906
Add scripts route to Foxx API 2016-10-26 11:41:08 +02:00
Max Neunhoeffer c695d60a2d Merge branch 'devel' of https://github.com/ArangoDB/ArangoDB into devel 2016-10-21 09:13:01 +00:00
Max Neunhoeffer 6d96e51883 Catch an exception in wait for sync replication. 2016-10-21 06:45:48 +00:00
Max Neunhoeffer 638ce07e6d Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-10-20 15:10:38 +02:00
Max Neunhoeffer 01a386cdc1 Correct some comments. 2016-10-20 15:10:22 +02:00
Alan Plum 245819ea9c
Add Foxx HTTP API 2016-10-20 15:09:36 +02:00
Alan Plum 6aaa55f9dc
app -> service 2016-10-20 15:08:18 +02:00
Frank Celler 7ab630fabc Removed cluster special case for xxxByExample. 2016-10-20 13:11:24 +02:00
Michael Hackstein 4fac851560 Added some better handling of SmartEdgeCollections in simpleQueries. 2016-10-19 15:19:33 +02:00
Jan Steemann 3c96c6f428 fix jslint 2016-10-18 13:55:10 +02:00
Andreas Streichardt 4ad6ddef3b Fix naming 2016-10-17 14:00:58 +02:00
Michael Hackstein 1243dc503d Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-10-17 13:58:31 +02:00
Michael Hackstein 7f3b67170a Removed obsolete JS Coordinator truncate() implementation. All done in cxx now. 2016-10-17 13:58:14 +02:00
Andreas Streichardt ad2327022e Merge remote-tracking branch 'origin/devel' into authentication 2016-10-17 13:51:26 +02:00
Andreas Streichardt 1318fa313b Implement cluster authentication 2016-10-17 13:35:55 +02:00
Max Neunhoeffer c9cf9a60c8 Put some debug messages in log level debug. 2016-10-14 18:48:11 +02:00
Alan Plum c2452ddc99
Fix #2110 2016-10-14 11:54:55 +02:00
Max Neunhoeffer 79c0f54072 Add more logging about shard creation/dropping/cleaning. 2016-10-13 13:26:20 +02:00
jsteemann c934f8e8dd added AQL function `DISTANCE()` for distance calculations 2016-10-06 12:01:04 +02:00
Jan Steemann d9d6588151 fixed issue #2081 2016-10-05 18:08:50 +02:00
Kaveh Vahedipour 595fc9b84e moveShard with distributeShardsLike 2016-10-04 11:41:26 +02:00
Alan Plum fe4c4d166f
Handle multiple request body models 2016-09-29 14:16:42 +02:00
hkernbach d4da684325 fixed statistics in cluster mode 2016-09-26 13:45:06 +02:00
Jan Steemann f0e14cff7d changed behavior of array comparison operators for empty arrays 2016-09-21 11:01:59 +02:00
jsteemann 6d2a93d997 added experimental AQL functions `JSON_STRINGIFY` and `JSON_PARSE` 2016-09-19 08:58:52 +02:00
Michael Hackstein a3ba4b249d DBServer collections now use a cluster-wide unique id for their cids. Better handling of waiting for replication. 2016-09-08 16:26:17 +02:00
jsteemann 2df53c92ce Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types 2016-09-08 09:51:24 +02:00
Kaveh Vahedipour 4e9f455094 too verbose messages from cluster.js 2016-09-08 07:38:10 +00:00
Max Neunhoeffer 549367a15e Fix error check in tryLaunchTask. 2016-09-07 09:46:59 +02:00
Max Neunhoeffer c83c5200cf Fix behaviour of tryLaunchJob when database is dropped. 2016-09-06 16:29:52 +02:00
Max Neunhoeffer c083693ef0 Better error reporting in tryLaunchTask. 2016-09-06 14:28:00 +02:00
jsteemann 6c2bb5513e Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types 2016-09-01 16:06:22 +02:00
Frank Celler 04a82b919f added --cluster.system-replication-factor 2016-09-01 15:59:02 +02:00
jsteemann 3ac79c8132 Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types 2016-09-01 15:08:42 +02:00
Kaveh Vahedipour 6239a5fbc5 minor reorganisation 2016-09-01 13:45:15 +02:00
Michael Hackstein 513f6ce560 Now all AGENTs do re port that they are not part of a cluster. This did confuse the statistics.js 2016-08-31 17:20:28 +02:00
jsteemann b2eadbd179 Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types 2016-08-30 16:07:50 +02:00
Wilfried Goesgens 1c34b564ed Fix release matching for alpha/beta versions 2016-08-30 14:39:48 +02:00
jsteemann bd590fb62d Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types 2016-08-30 08:18:34 +02:00
Kaveh Vahedipour c53428ce89 minor fixes 2016-08-29 17:13:33 +02:00
jsteemann 396ab41736 allow dropping system collections in some rare cases 2016-08-25 12:47:06 +02:00
Andreas Streichardt 5579eca2df Change debug levels for shard sync...no more spam 2016-08-23 10:53:14 +02:00
Andreas Streichardt 997a4e688f Handle backend unavailable properly 2016-08-22 14:15:15 +02:00
Alan Plum 76c447e29d
Add module.context.createDocumentationRouter 2016-08-19 00:36:08 +02:00
Alan Plum bcb722f0ac
Add legacy mode to web interface 2016-08-17 14:51:04 +02:00
Andreas Streichardt 87c8c0033a Improve clusterawareness in foxx and foxx queues 2016-08-10 12:26:24 +02:00
Jan Steemann 5b4e4e0845 issue #1977 2016-08-03 09:56:13 +02:00
Wilfried Goesgens ad0bc4d00f Work on the debian build
- change 3.0.x-devel to be 3.0.devel since minus or underscore collide with packaging requirements
  - re-sync package scripts with whats current on suse OBS
  - add config-uid support.
2016-08-01 13:43:30 +02:00
Andreas Streichardt 6f156d8554 Fix foxx issues in cluster
Bootstrap will now be done on the bootstrap coordinator.

queues will now be executed by the "foxxmaster"
2016-08-01 13:43:30 +02:00
Max Neunhoeffer 4bc433d5a7 Fix bug in synchronous replication. 2016-07-29 11:29:05 +02:00
Jan Steemann 44059b5feb issue #1959 2016-07-25 11:37:24 +02:00
Jan Steemann 8369f652a4 fixed issue #1950 2016-07-20 09:38:25 +02:00
Alan Plum 6bbe8e8098
Fix OAuth2 getActiveUserUrl 2016-07-19 22:27:24 +02:00
Alan Plum 284e71c8e0
GraphQL! Hype! 🎉 2016-07-12 17:03:44 +02:00
Max Neunhoeffer fedcc9cb17 Improving trace logging for syncCollectionFinalize. 2016-07-11 23:37:06 +02:00
Jan Steemann 55532a9fa5 removed some log message 2016-07-08 14:44:11 +02:00
Jan Steemann cb14a63778 pass UDF name into UDF call via this argument 2016-07-08 14:31:14 +02:00
Alan Plum 6c25aa7648
Restrict file 404 messages to relative path 2016-07-06 15:43:47 +02:00
Alan Plum 5c115b1cdb
Fix Foxx config not being saved 2016-07-06 15:24:47 +02:00
Alan Plum 6a0b9f0e4b
Make sure setup changes from devmode take effect 2016-07-06 14:09:09 +02:00
Alan Plum 29515d58e3
Avoid stale modules in dev mode 2016-07-06 14:09:09 +02:00
Alan Plum f1eb2ebeb8
Make installed manifests human readable 2016-07-06 14:09:09 +02:00
Alan Plum b332857bbf
app.isBroken and app.error don't exist 2016-07-06 14:09:09 +02:00
Alan Plum 2769a89c94
Move "executeScript" from FM into Service 2016-07-06 14:09:09 +02:00
Alan Plum dacb54d56f
Don't expose graphql on context 2016-07-05 19:45:00 +02:00
Alan Plum 4b43993eda
Port express-graphql to Foxx 2016-07-05 19:38:25 +02:00
Andreas Streichardt 6ee1f6d14a Reformat code 2016-06-30 16:57:17 +02:00
Alan Plum 999ca00165 Merge pull request #1903 from baslr/patch-4
custom toJSON for FoxxContext
2016-06-29 16:34:54 +02:00
Max Neunhoeffer 3ee7ff4aa9 Fix for synchronisation of shards logic. 2016-06-29 11:59:26 +02:00
Manuel B 1eb49ee6a1 custom toJSON for FoxxContext
this fixes #1898
returns only documented values and hides internal values.
2016-06-27 23:46:59 +02:00
jsteemann 274801b7b6 issue #1891: renamed to OUTERSECTION 2016-06-24 14:07:41 +02:00
jsteemann daf6d42683 optimize away some more filter parts of type `"const" IN collection.attribute 2016-06-24 14:03:58 +02:00
jsteemann 50c3aa93a9 issue #1891: added AQL function `DIFFERENCE` to return the symmetric difference of its input arguments 2016-06-24 10:35:49 +02:00
Alan Plum 24074069f9
Finalize Router/Response.md 2016-06-21 00:13:01 +02:00
Alan Plum e77e18bbc9
Fix swagger a litle bit 2016-06-20 21:41:14 +02:00
Alan Plum ab296ac829
Check trustedProxies lazily 2016-06-20 18:57:42 +02:00
Alan Plum a0b67ae7ad
Handle false-y TRUSTED_PROXIES as null 2016-06-20 18:03:48 +02:00
Alan Plum 132a3fa387
Finalize Context.md 2016-06-20 18:02:26 +02:00
Alan Plum 50b8873d7c
More docs 2016-06-20 17:37:45 +02:00
Max Neunhoeffer 11adb777ca Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-20 00:42:00 -07:00
Max Neunhoeffer 11e3de54a1 Repair reverse proxy absolute path rewriting business. 2016-06-20 00:40:45 -07:00
Alan Plum c55f6df799
Finalize Router/Endpoints.md 2016-06-19 19:54:04 +02:00
Max Neunhoeffer 50f325b4cf Fix typos. 2016-06-18 00:02:02 -07:00
Max Neunhoeffer 67bd33152b Fix typo. 2016-06-17 23:58:58 -07:00
Max Neunhoeffer aae9e92dc0 Change logic when a sync shard job is scheduled. 2016-06-17 23:57:15 -07:00
Max Neunhoeffer 7563cf56d0 Fix sync repl fix. 2016-06-17 23:18:28 -07:00
Max Neunhoeffer fe0cb0a958 Another fix for shard synchronisation. 2016-06-17 23:16:21 -07:00
Alan Plum 8a640eb1b5
ERROR_APPLICATION_* -> ERROR_SERVICE_* 2016-06-17 20:02:25 +02:00
Max Neunhoeffer 3db19df169 Fix bug in syncCollectionFinalize. 2016-06-17 09:50:18 -07:00
Alan Plum a56aae69d4
Export foxx/mocha.findTests 2016-06-17 16:17:16 +02:00
Alan Plum fd7a7c154b
More readable manifest messages
[skip ci]
2016-06-17 14:11:04 +02:00
Frank Celler 7bcc7b33f3 removed debug log messages 2016-06-17 11:42:22 +02:00
hkernbach 70ad0867d4 shardDistribution api, shards view 2016-06-17 11:10:11 +02:00
Alan Plum b289f666db
More detailed error messages in Foxx API 2016-06-16 19:52:27 +02:00
Alan Plum f593734233
Fix mounting with pathParams 2016-06-16 14:04:12 +02:00
Alan Plum a70d0d75cd
Fix routing order: defaultDocument->router->files 2016-06-16 12:59:08 +02:00
Alan Plum c9be12eb37
If a param is declared make sure it is recognized 2016-06-16 12:08:57 +02:00
Alan Plum 48d1048f2d
Fix validateParam with auto path params 2016-06-16 11:54:24 +02:00
Alan Plum e880cd6ec3
trustProxy should be null by default
If neither ArangoDB itself nor the Foxx service specify whether proxies should be trusted, the default should not be true.
2016-06-16 11:08:37 +02:00
Alan Plum 6ef6d9fa1a
Use an actual example IP in test-utils 2016-06-16 11:08:37 +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 fb19602436 Finally give system collections replication factor 2. 2016-06-15 21:28:36 -07:00
Max Neunhoeffer dab30642fa Activate statistics already after 10 seconds. 2016-06-15 21:28:14 -07:00
Alan Plum 3a4f19e8fb
Less noise in dev mode 2016-06-15 21:07:20 +02:00
Alan Plum f403ccecf4
Log route info if error was encountered in Foxx 2016-06-15 21:07:19 +02:00
Alan Plum 564fc24472
(2.x) Don't log response type in dev mode when no body was set 2016-06-15 21:07:19 +02:00
Alan Plum 4b65779cc4
Add req.trustProxy, req.arangoUser, req.arangoVersion 2016-06-15 17:11:57 +02:00
Alan Plum 7c40d6d58d
Don't expose internal request user to Foxx 2016-06-15 16:32:35 +02:00
Alan Plum e6b1e0642d
Remove unused system session storage 2016-06-15 16:13:46 +02:00
Alan Plum 74db8609fb
Missed one 2016-06-15 16:13:46 +02:00
Max Neunhoeffer 2bb8e4441d Sort out waiting for sync. repl. to settle at bootstrap and create DB.
This makes startup and creating databases slower, but leads to
a lot less trouble later on. It can now no longer happen that
a collection or database is dropped before synchronous replication
has settled.
2016-06-15 15:25:05 +02:00
Alan Plum d9394f44e1
lodash no longer accepts thisArg 2016-06-15 15:17:58 +02:00
Alan Plum 2bb8957caf
Update all dependencies to latest 2016-06-15 13:47:01 +02:00
Alan Plum a8219b4818
Unbreak the build I say 2016-06-14 17:20:06 +02:00
Alan Plum 0f5b4624ea
Unbreak the build 2016-06-14 17:18:40 +02:00
Alan Plum 0867e8aa87
Validate request headers also 2016-06-14 16:29:36 +02:00
Alan Plum 4466925398
Remove redundant quotes
[skip ci]
2016-06-14 16:29:33 +02:00
Alan Plum 45488ef615
Make param validation errors more descriptive 2016-06-14 16:29:31 +02:00
Alan Plum 8639ebb4cf
Rename 'reason' to 'description'
[skip ci]
2016-06-14 16:29:29 +02:00
Max Neunhoeffer 1be89d4667 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-14 16:20:38 +02:00
Max Neunhoeffer 5153b230b8 Wait for sync repl to settle after db create. 2016-06-14 16:20:18 +02:00
jsteemann 34877186dd make user-defined AQL functions throw again 2016-06-14 16:14:02 +02:00
Max Neunhoeffer 85d64d0eae Do not retry for too long to synchronize a shard. 2016-06-14 13:54:53 +02:00
Max Neunhoeffer b6ba8f841c Lower info level of some warning. 2016-06-14 10:51:15 +02:00
Max Neunhoeffer 9c74d6a076 Properly protect traffic in Sync Keyspace. 2016-06-14 10:49:28 +02:00
Max Neunhoeffer 79025546f7 Improve moveShard tests and testing infrastructure. 2016-06-13 23:28:32 +02:00
Alan Plum 3ac6139fdc
Also format JSON body in res.write & res.body 2016-06-13 18:30:38 +02:00
Alan Plum 279ec5e973
Also handle defaultDocument in non-legacy services 2016-06-13 14:27:26 +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
Max Neunhoeffer f0cb8b936f Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-10 17:07:06 +02:00
Frank Celler 59cae06890 fixed typo 2016-06-10 16:38:38 +02:00
Frank Celler 927c697b8b fixed auth (again) 2016-06-10 16:21:48 +02:00
Max Neunhoeffer 794a08dd86 Finish first version of rebalanceShards. 2016-06-10 15:56:25 +02:00
Max Neunhoeffer 3a8412090d rebalanceShards. 2016-06-10 14:41:46 +02:00
Max Neunhoeffer f9fa8ee39f Please jslint. 2016-06-10 12:14:15 +02:00
Max Neunhoeffer f2dfbf7448 Change format of /_admin/cluster/shardDistribution. 2016-06-10 12:12:55 +02:00
Max Neunhoeffer 6b7b54cf03 Better handling of shutdown situation for shard sync. 2016-06-10 12:04:09 +02:00
Max Neunhoeffer 2c6e5d9812 Fix syncCollectionFinalize to adjust to new async repl. API data format. 2016-06-10 10:38:27 +02:00
hkernbach 4cdcc7d873 permission api 2016-06-10 00:36:22 +02:00
Max Neunhoeffer 059b24d7e7 Start work on rebalancing of shards. 2016-06-10 00:13:42 +02:00
Max Neunhoeffer b1d33d1a76 Extra error output. 2016-06-09 13:20:36 +02:00
Max Neunhoeffer ebe0b5c64a Report result of DBSyncServerJob back to the heartbeat thread. 2016-06-09 12:03:34 +02:00
jsteemann 0d5e91e804 fixed jslint 2016-06-08 16:58:15 +02:00
Max Neunhoeffer 49cd6ca9f4 Fix leaderResign (no double resign) and leader change. 2016-06-08 15:54:00 +02:00
Max Neunhoeffer d48f5506f2 Fix shard removeShardFollower functionality. 2016-06-08 14:59:39 +02:00
Max Neunhoeffer 659a06765d Let a follower unfollow a leader. 2016-06-08 10:00:19 +02:00
Max Neunhoeffer c85bd2fdbe Implement leader resignation. 2016-06-07 23:26:34 +02:00
Max Neunhoeffer fe5b9f9c23 Remove shard entries in Agency less eagerly.
This fixes a bug about collections vanishing in Current.
2016-06-07 23:01:56 +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
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
jsteemann 031094763b renamed REGEX_MATCH to REGEX_TEST 2016-06-06 23:37:29 +02:00
jsteemann c2768d5a86 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-06 22:33:01 +02:00
Jan Steemann 1cda48bfc2 renamed REGEX to REGEX_MATCH 2016-06-06 17:58:16 +02:00
jsteemann eca908359a make some system collections smaller 2016-06-06 17:16:55 +02:00
Max Neunhoeffer 5f14a4eaa5 Fix JS code using asyncRequest. 2016-06-06 15:21:36 +02:00
Max Neunhoeffer 19747c8b6c Fix crash due to wrong usage of asyncRequest. 2016-06-06 11:30:39 +02:00
Frank Celler 15afaebc12 fixed tests, fixed typo in exists 2016-06-03 15:21:23 +02:00
Jan Steemann 6e26e748ca jslint 2016-06-03 12:59:38 +02:00
Jan Steemann 38dbbfdf9d changed division by zero result 2016-06-03 11:50:45 +02:00
Andreas Streichardt 9d03f85e9b Fix dump authentication test 2016-06-03 11:19:42 +02:00
Jan Steemann 5c0dd05308 added PI() function 2016-06-03 09:25:46 +02:00
Frank Celler 572e2524fa added config 2016-06-02 12:52:35 +02:00
Frank Celler 397623460e WIP 2016-06-02 09:49:36 +02:00
Frank Celler 22b454800d WIP 2016-06-01 23:03:00 +02:00
Andreas Streichardt 74719c76a6 Merge branch 'devel' into jwt 2016-06-01 17:59:10 +02:00
Andreas Streichardt 021b71a7c1 Frontend is working 2016-06-01 17:51:39 +02:00
Frank Celler 783eddd91a added grant database and revoke database 2016-06-01 17:46:13 +02:00
Frank Celler 0954dbf2d5 Merge branch 'FMH' of https://github.com/arangodb/arangodb into FMH 2016-06-01 17:15:00 +02:00
Frank Celler 80df233daa WIP 2016-06-01 17:14:29 +02:00
Jan Steemann e82ed380e6 added tests 2016-06-01 16:23:12 +02:00
jsteemann 7bb5675031 set log level to debug 2016-06-01 15:06:34 +02:00
Jan Steemann e2ec68c001 added tests for AQL functions 2016-06-01 13:32:08 +02:00
Andreas Streichardt ba14069f93 Merge branch 'devel' into jwt 2016-06-01 12:10:12 +02:00
Andreas Streichardt 630d12713d Merge branch 'devel' into jwt 2016-06-01 10:19:53 +02:00
Andreas Streichardt 2a1c9b93f4 Fix eslint stuff 2016-06-01 09:50:32 +02:00
Simran Brucherseifer f718a8995a Add ATAN2() function to AQL 2016-06-01 02:57:31 +02:00
Max Neunhoeffer 52e2f8cb01 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-05-31 10:38:06 -06:00
Max Neunhoeffer 0deed878ba Start statistics tasks only with a delay. 2016-05-31 10:36:01 -06:00
Jan Steemann d7cfba3527 added (experimental) REGEX function 2016-05-31 17:59:35 +02:00
Alan Plum d4a9b0e1f3
Indicate legacy state in app store 2016-05-31 14:46:00 +02:00
Alan Plum 76be53e57c
Don't throw generic errors in Foxx manager 2016-05-31 14:45:59 +02:00
jsteemann f6a559114d re-added secondary signature for CONCAT() 2016-05-31 14:31:03 +02:00
Alan Plum 04b3076437
English mf, do you speak it? 2016-05-31 12:55:05 +02:00
Alan Plum 63ccfa22a9
request.params -> request.param 2016-05-31 12:55:04 +02:00
Alan Plum 94462c90c0
Fall back to Infinity for request.range max value 2016-05-31 12:55:04 +02:00