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