1
0
Fork 0
Commit Graph

4654 Commits

Author SHA1 Message Date
Michael Hackstein 808cb97707 Fixed a bug in SHORTEST_PATH using a distance attribute. In some cases the computed path was not correct. 2016-06-27 16:57:47 +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
Wilfried Goesgens 09e4475096 disable numeric aql tests for solaris - its broken in the solaris libm. 2016-06-23 18:05:28 +02:00
jsteemann 7496fa2c67 issue #1894: make list of edge collections unique in traversal 2016-06-23 12:17:04 +02:00
Alan Plum 77c96537d1
Fix failing test 2016-06-21 10:49:50 +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
Max Neunhoeffer 3bb4424b18 Wait for sync rep before dropping and recreating collection. 2016-06-17 14:18:48 -07:00
Max Neunhoeffer 01b3211048 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-17 11:02:56 -07:00
Alan Plum 8a640eb1b5
ERROR_APPLICATION_* -> ERROR_SERVICE_* 2016-06-17 20:02:25 +02:00
Max Neunhoeffer f59668e889 When recreating a collection to avoid system collections, wait for sync rep. 2016-06-17 11:02:24 -07: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 c4ed4d9df0
Make swagger docs secure again 2016-06-17 14:52:15 +02:00
Alan Plum ba2c489134
Stop swagger-ui from complaining about api key
[skip ci]
2016-06-17 14:51:38 +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
Max Neunhoeffer 6011ee4994 Repair a test by making SORT well-defined.
There was actually a difference in a (non-guaranteed) sort order
between single server and cluster. This is fixed now.
2016-06-16 12:02:54 -07:00
Alan Plum b289f666db
More detailed error messages in Foxx API 2016-06-16 19:52:27 +02:00
Mark 0e00597e4b fixed compatibility graph functions, added tests 2016-06-16 15:39:05 +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 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 6ae19f3987 Move waiting code to @arangodb/cluster.js 2016-06-14 15:59:20 +02:00
Max Neunhoeffer 6dba665a34 At create database wait for synchronous replication to kick in. 2016-06-14 15:40:55 +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 9d42790580 Take out a debugging print. 2016-06-14 00:13:09 +02:00
Max Neunhoeffer 82ac357b2a Less debugging output. 2016-06-14 00:08:42 +02:00
Max Neunhoeffer 66ae93bf1f More patience to wait for supervision to finish jobs. 2016-06-14 00:08:24 +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
Kaveh Vahedipour d130743a73 shrinkCluster tests 2016-06-13 15:15:10 +02:00
Mark 328b7681f1 Test format fix 2016-06-13 14:44:33 +02:00
Mark 705edefe41 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-13 14:37:50 +02:00
Max Neunhoeffer c3d9336450 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-13 14:37:38 +02:00
Mark 822fb3282f Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-13 14:37:16 +02:00
Max Neunhoeffer 0040105e80 Finish transformation to three digit numbers in server IDs. 2016-06-13 14:37:15 +02:00
Mark 23d1a204b6 breadth first tests added 2016-06-13 14:36:52 +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
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 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
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 ae4233bebd Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-10 14:42:05 +02:00
Max Neunhoeffer 3a8412090d rebalanceShards. 2016-06-10 14:41:46 +02:00
hkernbach 6a74033eb3 _frontend collection permission 2016-06-10 14:20:44 +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 b622ea68d9 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-09 15:30:16 +02:00