Max Neunhoeffer
e24278828c
Changes to cluster startup for mesos cooperation.
...
This simplifies the cluster startup by introducing a further agency
lookup step using "local info" to find the "id". This allows an external
discovery process (see scripts/discover.js as an example) to configure
a new server in the cluster dynamically when it starts up.
New GNUmakefile targets
pack-tar-config
pack-tar
2015-01-28 12:58:24 +01:00
Jan Steemann
b54dfae96f
removed several JSON functions
2015-01-13 01:31:04 +01:00
Jan Steemann
20e7fe7a7a
the great rename: array => object, list => array
2014-12-18 21:07:06 +01:00
Max Neunhoeffer
5f26789c95
Cleanup code after making dispatcher elastic.
2014-11-07 20:25:05 -05:00
Max Neunhoeffer
fdb44f8c17
Tell ClusterComm about the dispatcher.
2014-11-07 16:54:22 -05:00
Willi Goesgens
6a0fe7af9c
Fix memleak: TRI_Insert2ArrayJson doesn't use the pointer; need to use TRI_Insert3ArrayJson here.
2014-10-29 16:39:54 +01:00
Jan Steemann
da10751030
do not spam dispatcher queue
2014-10-28 16:01:40 +01:00
Jan Steemann
13d240384f
less namespace pollution
2014-10-28 00:24:37 +01:00
Jan Steemann
506936dcdb
rename orgy
2014-09-13 02:35:13 +02:00
Jan Steemann
0dc0bc834f
more files renamed
2014-09-13 00:20:30 +02:00
Frank Celler
be06ef7f25
new upgrade-database (formely known as version-check) and new startup procedure
2014-08-07 14:12:19 +02:00
Frank Celler
4dcf5dc817
updated disclaimer
2014-06-20 16:40:35 +02:00
Jan Steemann
362838ae69
TRI_ASSERT
2014-06-06 11:25:19 +02:00
Jan Steemann
6e76f9d35f
dont log cluster connection problems on startup as errors, but just as info
2014-04-02 16:27:26 +02:00
Max Neunhoeffer
cb8f0257a7
Give the server state in the agency a time to live.
2014-02-28 18:47:46 +01:00
Frank Celler
9a410a5b71
added config for server state
2014-02-28 12:02:21 +01:00
Jan Steemann
ed8f52b323
fixed small memleak reported by valgrind
2014-02-27 20:40:49 +01:00
Jan Steemann
9ac1a7cc50
cluster-internal authentication
2014-02-26 12:01:41 +01:00
Max Neunhoeffer
91db141ea5
Change value of things in agency according to Sharding.md.
2014-02-21 13:19:57 +01:00
Jan Steemann
2f6f59e228
fixed startup race condition
2014-02-21 08:47:24 +01:00
Jan Steemann
d92dd90aac
fixed instance race condition
2014-02-19 17:10:11 +01:00
Jan Steemann
dd5b172e2c
fixed race conditions
2014-02-19 14:55:21 +01:00
Jan Steemann
399ddebbd3
ensureIndex 1st
2014-02-10 14:36:32 +01:00
Max Neunhoeffer
bc79698750
Make executable path and basePath available through ServerState.
2014-02-10 09:59:41 +01:00
Jan Steemann
b4d9f10f17
fixed some database methods
2014-02-06 15:54:34 +01:00
Jan Steemann
1a1e1ed645
unregister ourselves on shutdown
2014-01-21 11:44:53 +01:00
Jan Steemann
07c0ed3bab
creation/removal of local shards
2014-01-17 12:43:34 +01:00
Jan Steemann
a987647bd2
handle state changes
2014-01-16 14:52:40 +01:00
Jan Steemann
4a805062bb
changed internal APIs
2014-01-15 13:36:38 +01:00
Jan Steemann
ee186c2c6b
added locking check
2014-01-14 17:17:25 +01:00
Jan Steemann
3cf65cf228
added AgencyCommLocker.successful() method
2014-01-14 17:16:51 +01:00
Max Neunhoeffer
fc96df2244
Separate out ConnectionManager from ClusterComm.
2014-01-14 15:04:55 +01:00
Jan Steemann
5b965b2a21
added initialised() method
2014-01-07 17:50:52 +01:00
Jan Steemann
0fdcd88770
changed internal structure of heartbeat value
2014-01-07 12:24:39 +01:00
Jan Steemann
13baa4d055
removed --cluster.heartbeat-interval, moved value to ETCD
2014-01-07 12:09:38 +01:00
Jan Steemann
5c0e6e12e0
added tests for serverstate and clusterinfo
2014-01-06 18:19:14 +01:00
Jan Steemann
b3ed54f95b
fixed warnings reported by cppcheck
2014-01-03 19:28:15 +01:00
Jan Steemann
5571698555
serialize/unserialize collection data from agency
2014-01-03 19:04:50 +01:00
Max Neunhoeffer
3a0e814393
Use AgencyComm locks throughout.
2014-01-03 15:11:31 +01:00
Jan Steemann
532a59d0a3
added agency locks
2014-01-03 13:52:54 +01:00
Max Neunhoeffer
9598983051
Rename ClusterState to CluesterInfo.
2014-01-03 08:58:50 +01:00
Jan Steemann
22d18e24c5
renamed etcd keys
2014-01-02 15:45:58 +01:00
Jan Steemann
16e16f705c
some bugfixes for asyncRequest etc
2013-12-20 18:03:55 +01:00
Max Neunhoeffer
60eee47336
Next draft of ClusterComm API.
...
ClusterComm internals are unready and subject to change.
ClusterComm thread is not yet started and shut down.
ClusterState does not do anything (yet).
2013-12-13 17:07:18 +01:00
Jan Steemann
8eccb0a35f
added dispatcher to shardhandler
2013-12-12 16:42:25 +01:00
Jan Steemann
897ddca313
startup/shutdown modifications
2013-12-12 15:25:53 +01:00
Jan Steemann
5e5a5fb32b
added JS bindings for agency
2013-12-11 09:56:54 +01:00
Jan Steemann
57223ecaba
failover handling for agency connections
2013-12-10 14:33:34 +01:00
Jan Steemann
1b64ae7a9d
better error detection
2013-12-10 12:48:50 +01:00
Jan Steemann
8708dc7e70
renamed sharding to cluster
2013-12-10 09:56:00 +01:00