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
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
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
Andreas Streichardt
e90cc93e4a
resign "a bit more"
2017-01-16 18:14:20 +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
Max Neunhoeffer
f35e3a7aaf
Merge branch 'devel' into schmutz-ng
2017-01-16 09:54:09 +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
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
Andreas Streichardt
11bd9381d5
Add satellite collections
2016-12-06 16:40:50 +01:00
jsteemann
817933c77b
bugfixes for sync replication and collection status in cluster
2016-11-24 17:00:57 +01: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
01a386cdc1
Correct some comments.
2016-10-20 15:10:22 +02:00
Michael Hackstein
4fac851560
Added some better handling of SmartEdgeCollections in simpleQueries.
2016-10-19 15:19:33 +02:00
Andreas Streichardt
4ad6ddef3b
Fix naming
2016-10-17 14:00:58 +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
Max Neunhoeffer
79c0f54072
Add more logging about shard creation/dropping/cleaning.
2016-10-13 13:26:20 +02:00
Kaveh Vahedipour
595fc9b84e
moveShard with distributeShardsLike
2016-10-04 11:41:26 +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
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
Andreas Streichardt
5579eca2df
Change debug levels for shard sync...no more spam
2016-08-23 10:53:14 +02:00
Andreas Streichardt
6ee1f6d14a
Reformat code
2016-06-30 16:57:17 +02:00
Max Neunhoeffer
3ee7ff4aa9
Fix for synchronisation of shards logic.
2016-06-29 11:59:26 +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
hkernbach
70ad0867d4
shardDistribution api, shards view
2016-06-17 11:10:11 +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
Max Neunhoeffer
5153b230b8
Wait for sync repl to settle after db create.
2016-06-14 16:20:18 +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
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
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