1
0
Fork 0
Commit Graph

2264 Commits

Author SHA1 Message Date
Max Neunhoeffer 709c2291f3 Fix bugs in etcd protection against _. 2014-01-10 09:00:35 +01:00
Max Neunhoeffer 7c80830b40 Protect _ in etcd keys. Does not work yet. 2014-01-09 16:17:53 +01:00
Max Neunhoeffer 57f18783c4 Implement asking for databases in a cluster. 2014-01-09 14:56:44 +01:00
Max Neunhoeffer 2f72a82927 Forgot one file in previous commit. 2014-01-09 14:56:21 +01:00
Max Neunhoeffer 65c3cc6484 Improve ClusterComm library by allowing to talk to DB servers directly. 2014-01-09 14:55:29 +01:00
Max Neunhoeffer e01ac6ff5b Delay loading of caches and add getDBServers. 2014-01-09 12:12:18 +01:00
Max Neunhoeffer bb52760884 Make ClusterInfo notice empty cluster databases. 2014-01-09 11:29:45 +01:00
Max Neunhoeffer ab9726f278 Rename getDatabases to listDatabases. 2014-01-08 16:12:24 +01:00
Max Neunhoeffer d9ca01c31d First stab at get info about cluster databases. 2014-01-08 16:09:43 +01:00
Jan Steemann 37f75b929f make endpoints() result unique 2014-01-08 13:41:06 +01:00
Jan Steemann 14f996817e Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-08 11:34:38 +01:00
Jan Steemann 2ce97f4db8 don't let uniqid() queries pass without key parameter 2014-01-08 11:34:15 +01:00
Max Neunhoeffer fa96bb9b3d Transfer better error handling to JS_ShardingTest 2014-01-08 09:24:43 +01:00
Jan Steemann 5b965b2a21 added initialised() method 2014-01-07 17:50:52 +01:00
Jan Steemann bb7f550f7a for Michael... 2014-01-07 16:46:18 +01:00
Jan Steemann c6b79328f5 Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-07 16:28:25 +01:00
Jan Steemann 9ce78430ac create collections, v0.0.0 2014-01-07 16:28:12 +01:00
Jan Steemann 45a5296e9e make agency.list() return a flat list if requested 2014-01-07 16:24:54 +01:00
Max Neunhoeffer e79698f456 Improve error handling. 2014-01-07 16:18:31 +01:00
Max Neunhoeffer c4332fe68c Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	init-cluster.sh
2014-01-07 14:25:14 +01:00
Max Neunhoeffer 38c24192ee Sending of synchronous requests in JavaScript done. 2014-01-07 14:24:27 +01:00
Jan Steemann 5a365cb2b1 removed shardLocation key 2014-01-07 14:00:27 +01:00
Max Neunhoeffer 80cec828b6 Fix two bugs. 2014-01-07 13:37:29 +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 1889fa52a0 Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-07 11:57:55 +01:00
Jan Steemann 7c27a646f7 removed a few over-eager asserts 2014-01-07 11:57:42 +01:00
Jan Steemann 4f3cd8ffc9 hide an object 2014-01-07 11:57:34 +01:00
Max Neunhoeffer eccb063eba Fix name of global object ArangoClusterComm. 2014-01-07 11:56:06 +01:00
Max Neunhoeffer 11e018e6b2 Make global ArangoClusterComm object in each thread. 2014-01-07 11:50:05 +01:00
Max Neunhoeffer bbf28e3501 Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	arangod/Cluster/v8-cluster.cpp
2014-01-07 11:45:43 +01:00
Max Neunhoeffer e30c965a4c Add JS_Wait function for ClusterComm in JavaScript. 2014-01-07 11:35:10 +01:00
Max Neunhoeffer cc8bb892fd Slightly change documentation of API for ClusterComm::wait() 2014-01-07 11:34:54 +01:00
Jan Steemann 3183e6d402 created global cluster object variables 2014-01-07 11:34:42 +01:00
Max Neunhoeffer 566c94be95 Fix double delete bug. 2014-01-07 11:33:20 +01:00
Jan Steemann 3309743c1a moved some collection parameters around 2014-01-07 11:02:49 +01:00
Max Neunhoeffer 5747d6149f Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding 2014-01-07 08:45:21 +01:00
Jan Steemann 5c0e6e12e0 added tests for serverstate and clusterinfo 2014-01-06 18:19:14 +01:00
Max Neunhoeffer 807bf46188 Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	arangod/Cluster/v8-cluster.cpp
2014-01-06 16:20:45 +01:00
Max Neunhoeffer 33d063d6d6 Start to move ClusterComm to JavaScript. 2014-01-06 16:18:24 +01:00
Jan Steemann 7fcabc2cbf Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-06 13:18:12 +01:00
Jan Steemann 4de2b916c4 added test for uniqid 2014-01-06 13:18:01 +01:00
Jan Steemann 3679fdfe68 allow user functions as AQL function call parameters 2014-01-06 12:57:03 +01:00
Max Neunhoeffer 7c17c1c6e4 Follow coding guidelines in ClusterComm 2014-01-06 12:25:41 +01:00
Max Neunhoeffer 30415c6a73 Cleanup conversion C++ <-> Javascript of HttpRequest/HttpResponse. 2014-01-06 11:40:49 +01:00
Jan Steemann ca1e6288a2 allow functions results as parameters in all function calls 2014-01-06 11:14:54 +01:00
Jan Steemann b3ed54f95b fixed warnings reported by cppcheck 2014-01-03 19:28:15 +01:00
Jan Steemann 7baf040368 fixed doxygen error 2014-01-03 19:09:26 +01:00
Jan Steemann 5571698555 serialize/unserialize collection data from agency 2014-01-03 19:04:50 +01:00
Jan Steemann 15c78c23b0 some style corrections 2014-01-03 15:21:07 +01:00
Jan Steemann c249d98dfb Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-03 15:19:22 +01:00
Jan Steemann 3176c772cf allow locking/unlocking of arbitrary keys 2014-01-03 15:18:48 +01:00
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
Jan Steemann 91c52a3a2e fixed potential deadlock in global context execution 2014-01-03 13:47:11 +01:00
Jan Steemann e1dd2cb4db allow \n as line terminator in batch requests 2014-01-03 12:12:40 +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
Frank Celler 84507cfc44 merged changes from 1.4 back to devel 2013-12-27 14:59:23 +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
Frank Celler ad7385909e removed foxx-manager and arango-dfdb shell scripts, removed uid config file 2013-12-23 17:11:10 +01:00
Max Neunhoeffer c9b2884def Full round trip implemented but not yet working. 2013-12-23 16:19:59 +01:00
Frank Celler 7e30dc0b4e MacOS bundle 2013-12-23 16:03:38 +01:00
Frank Celler da8f9098a2 windows installer 2013-12-23 12:48:35 +01:00
Frank Celler 83d49223d5 added readme for windows 2013-12-22 11:34:05 +01:00
Frank Celler 2d5a8eb5ca added service functions 2013-12-22 00:48:31 +01:00
Frank Celler 2d9f8e3986 removed --daemon and --supervisor for Windows 2013-12-21 13:29:55 +01:00
Frank Celler 87cc2c4104 Merge branch '1.4' of github.com:triAGENS/ArangoDB into 1.4 2013-12-21 13:10:15 +01:00
Frank Celler 4f0d9f5b71 install Windows binaries all in bin 2013-12-21 13:10:08 +01:00
Frank Celler e57dceb42b arangod used same config as binary name 2013-12-21 01:36:25 +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