1
0
Fork 0
Commit Graph

2122 Commits

Author SHA1 Message Date
Max Neunhoeffer f0cb458e9d Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding 2014-01-03 15:11:48 +01:00
Max Neunhoeffer 3a0e814393 Use AgencyComm locks throughout. 2014-01-03 15:11:31 +01:00
Jan Steemann 84c46ddb4d added agency.list() 2014-01-03 15:11:03 +01:00
Max Neunhoeffer f09cdcf292 Bad state. 2014-01-03 14:10:35 +01:00
Max Neunhoeffer d50d4d019f Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding 2014-01-03 14:08:08 +01:00
Max Neunhoeffer bf60888efe Start work on ClusterInfo. 2014-01-03 14:07:56 +01:00
Jan Steemann a4efa9fe1b Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-03 13:53:08 +01:00
Jan Steemann 532a59d0a3 added agency locks 2014-01-03 13:52:54 +01:00
Max Neunhoeffer 2a0c85bc07 Finish documentation of ClusterComm test API call.
Also fix bug in synchronous mode test.
2014-01-03 11:36:05 +01:00
Max Neunhoeffer 6c36c268f0 Improve debugging output of ClusterComm asynchronous requests. 2014-01-03 09:36:37 +01:00
Max Neunhoeffer 9598983051 Rename ClusterState to CluesterInfo. 2014-01-03 08:58:50 +01:00
Jan Steemann 87c1897c23 added lock and unlock functions, yet untested 2014-01-02 18:03:08 +01:00
Jan Steemann c48d54c49b conditional execution of agency tests 2014-01-02 17:22:37 +01:00
Jan Steemann b07ad28c35 added caching function to generate ids 2014-01-02 17:16:44 +01:00
Jan Steemann f952fd8bc0 added uniqid function to generate IDs 2014-01-02 16:37:11 +01:00
Jan Steemann 22d18e24c5 renamed etcd keys 2014-01-02 15:45:58 +01:00
Jan Steemann d1bee4cf58 added functions to query the server state 2014-01-02 15:13:44 +01:00
Jan Steemann 7980a51e26 moved cluster JS functions to its own files 2014-01-02 13:49:00 +01:00
Jan Steemann 8070db37a2 changed heartbeat watch implementation 2014-01-02 13:36:26 +01:00
Max Neunhoeffer 95f94397b0 Add synchronous request to ClusterComm. 2013-12-30 23:21:41 +01:00
Max Neunhoeffer b8ddcfef82 Remove *Delegate functions from ClusterComm library.
They do not make sense since we usually come from JavaScript
and have to take apart the JS objects anyway. Also, the requests
are usually quite small.
2013-12-30 16:36:27 +01:00
Max Neunhoeffer 52e5258a8a Add/modify asyncDelegate. 2013-12-30 16:11:21 +01:00
Max Neunhoeffer 842ad6d347 Improve error handling in HTTP requests for sharding. 2013-12-30 15:38:33 +01:00
Max Neunhoeffer bd03094ba9 Better error handling in sharding test. 2013-12-30 15:23:31 +01:00
Max Neunhoeffer df39a7fb58 Reactivate heartbeat. 2013-12-30 14:53:00 +01:00
Max Neunhoeffer c47ca741a4 Change a debug level into a trace level. 2013-12-30 14:51:06 +01:00
Max Neunhoeffer 5d51d7b3ba Get rid of many debugging messages. 2013-12-30 14:49:14 +01:00
Max Neunhoeffer c8b684dbd6 Generic test function for ClusterComm working. 2013-12-30 14:37:03 +01:00
Max Neunhoeffer 3415e3c0c8 Some cleanup in asyncRequest setup. 2013-12-30 10:22:21 +01:00
Max Neunhoeffer 9801cc9d19 Timeout basically working. 2013-12-27 16:18:56 +01:00
Max Neunhoeffer 62976629f0 Various memory leaks and callback improvements. 2013-12-27 13:15:52 +01:00
Max Neunhoeffer f075ba8ae6 Fix another deadlock. 2013-12-27 09:13:09 +01:00
Max Neunhoeffer c9b2884def Full round trip implemented but not yet working. 2013-12-23 16:19:59 +01:00
Jan Steemann 16e16f705c some bugfixes for asyncRequest etc 2013-12-20 18:03:55 +01:00
Jan Steemann 5a3b49a7bc fixed r/w deadlock 2013-12-20 16:27:54 +01:00
Jan Steemann c460ab97e9 applied changes from devel branch 2013-12-20 15:40:56 +01:00
Jan Steemann b903d9080d Merge remote-tracking branch 'origin/devel' into sharding
Conflicts:
	js/apps/system/aardvark/test/karma/karma.conf.js
2013-12-20 15:35:50 +01:00
Max Neunhoeffer 7f2241ae20 Rearrange locking look in sending thread. 2013-12-19 16:24:15 +01:00
Max Neunhoeffer 5c80816352 Can do one roundtrip.
Client -REST-> Coordinator -> sendQueue -REST-> DBServer
         -> recvQueue -REST-> Client
2013-12-19 16:15:54 +01:00
Max Neunhoeffer bfbbe18c57 Create a testing possibility for ClusterComm. 2013-12-19 11:33:34 +01:00
Max Neunhoeffer b55c7e22f9 Basic queueing logic ready.
Actual sending still todo.
2013-12-19 09:06:45 +01:00
Max Neunhoeffer fdc664859c Add skeletons of new functions. 2013-12-17 13:52:31 +01:00
Max Neunhoeffer 9c4a25670e Start the background thread for ClusterComm. 2013-12-17 11:42:01 +01:00
Max Neunhoeffer e84a9fe3ca Finalise public interface for ClusterComm library. 2013-12-17 10:44:16 +01:00
Jan Steemann 7c4944de83 added --server.ssl-protocol option for client tools
Conflicts:
	arangosh/Benchmark/BenchmarkThread.h
	lib/GeneralServer/SslAsyncCommTask.h
2013-12-13 17:58:24 +01:00
Jan Steemann ed61b5272e added missing initialiser 2013-12-13 17:11:49 +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
Max Neunhoeffer 145fa2562e Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	arangod/Makefile.files
2013-12-13 16:06:01 +01:00
Max Neunhoeffer 721681b4ee Move Cluster state information to its own class. 2013-12-13 16:04:54 +01:00
Jan Steemann 865b70862e some minor adjustments for arangodump and arangorestore 2013-12-13 11:54:00 +01:00