1
0
Fork 0
Commit Graph

200 Commits

Author SHA1 Message Date
Andreas Streichardt 370dbebec8 Allow existing directories during init 2016-02-24 17:31:14 +01:00
Andreas Streichardt 63b2cdbe1b fix code review comments 2016-02-04 13:40:15 +01:00
Andreas Streichardt 9e7beb9a6e Change LOG WARNING and ERROR 2016-02-04 11:43:10 +01:00
Andreas Streichardt f096580706 Merge remote-tracking branch 'upstream/devel' into initializecluster 2016-02-04 11:37:02 +01:00
Andreas Streichardt adce528373 Proper initialization
Also find a fitting spot for our role
2016-02-04 11:29:43 +01:00
Andreas Streichardt e5ec93223f Oops ... fix signature 2016-02-01 19:05:05 +01:00
Andreas Streichardt b8204d0f3c initialize cluster structure 2016-02-01 18:59:01 +01:00
Jan Steemann b7abf5a40d attempt to fix Windows build 2016-02-01 12:04:28 +01:00
jsteemann 2d7323a560 fixed warnings shown by clang-3.7 2016-01-31 02:17:36 +01:00
jsteemann ff21453255 logger transition: all files in arangod exception transactions.cpp 2016-01-29 23:28:44 +01:00
Michael Hackstein 436c377cb5 Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-01-29 14:01:53 +01:00
Andreas Streichardt 54569ac01a Wait for agency to come up 2016-01-28 18:13:23 +01:00
Jan Steemann 9046e1831b clang-format 2016-01-27 13:43:46 +01:00
Jan Steemann 3fc862f0ef changed locking macros 2016-01-26 15:39:12 +01:00
Michael Hackstein 18b66d5c83 Removed TRI_json_t entirely from AgencyComm. Also no legacy support anymore. 2016-01-25 16:39:56 +01:00
Michael Hackstein 5b48989e8b Fixed bug in agency. Index was not read correctly 2016-01-25 10:42:23 +01:00
Michael Hackstein 191c2dc3a9 Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-01-21 16:29:38 +01:00
jsteemann 842384016d namespace cleanup 2016-01-21 00:20:22 +01:00
Michael Hackstein 77b12f872f Explicitly deleted TRI_Json_t sending requests in Agency. To avoid invoking the wrong function again 2016-01-20 14:47:56 +01:00
Michael Hackstein 636d284607 Removed debug output 2016-01-20 14:20:50 +01:00
Michael Hackstein 3c6ac9f38f Removed all TRI_json_t inputs to AgencyComm and replaced them by VPack. This commit stil has an error s.t. indexes cannot be dropped in Cluster. WIP. 2016-01-20 12:53:55 +01:00
Michael Hackstein 1edd5b3007 Now AgencyComm only communicates via VPack to Agency. A mix of TRI_json_t and VPack is impossible do to different ordering when comparing values 2016-01-19 15:37:48 +01:00
Michael Hackstein 7f4980e87d Cluster internal communication now uses more VPack instead of TRI_json_t 2016-01-19 11:33:43 +01:00
Michael Hackstein 8a1b105986 Increasing versions in AgencyComm now uses VelocyPack (breaking change, uint64_t is not stored as strings any more 2016-01-17 12:39:43 +01:00
Michael Hackstein b2b73bc57d Server State in Cluster is now send as VelocyPack 2016-01-17 12:31:31 +01:00
Michael Hackstein c76c7df2aa Cluster Version counter nwo use VPack internally 2016-01-17 12:28:19 +01:00
Michael Hackstein bb4e1156ad AgencyLocker now internally uses VPack instead of TRI_json_t 2016-01-17 12:22:05 +01:00
jsteemann 431900f17a changed namespace from triagens to arangodb 2016-01-17 00:44:53 +01:00
Michael Hackstein fc8b45b06f Parsing the result in cluster is now done through VPack 2016-01-16 23:43:02 +01:00
Michael Hackstein e1a63aa5a0 Agency comm errorCode und Message are now parsed via VelocyPack. 2016-01-16 23:24:36 +01:00
jsteemann f66eb007cd some const unification 2016-01-15 00:03:03 +01:00
jsteemann 9f0576c65f don't rely so much on namespace std being present 2016-01-08 01:05:06 +01:00
Jan Steemann 3ad20c0cae auto-generated headers 2016-01-06 18:41:51 +01:00
Jan Steemann a3b026d9d1 removed useless sections from code, unified include guards 2016-01-06 14:15:22 +01:00
Jan Steemann f422576ee0 clang-format 2016-01-05 17:43:24 +01:00
Max Neunhoeffer 225c8cd843 Work on TODOs. 2015-12-22 16:50:09 +01:00
Max Neunhoeffer a0f6a3c9db Merge branch 'devel' into ClustUp1 2015-12-08 23:21:46 +01:00
Max Neunhoeffer 6cedb210df First try to fix deadlock problem. Tests not yet tried. 2015-12-08 18:54:05 +01:00
Max Neunhoeffer a674ff9629 Use no pretty printing in agency communication for VelocyPack. 2015-12-07 14:52:53 +01:00
Max Neunhoeffer 60df924ac1 Change data structures for collections in Agency.
Snapshot, compiles, untested, needs new VelocyPack.
2015-12-04 15:08:47 +01:00
Alan Plum 7538d71333 URL parameter -> {query,path} parameter 2015-11-24 18:09:43 +01:00
Max Neunhoeffer af3cb6868f Increase timeouts for larger clusters. 2015-11-10 10:21:36 +01:00
Jan Steemann efe643aee9 unique_ptr'ed 2015-07-31 15:55:56 +02:00
Jan Steemann dfd31975f6 potential fix 2015-07-31 14:57:32 +02:00
Jan Steemann 20c96b5e46 removed locks 2015-07-21 17:34:57 +02:00
Jan Steemann 4c7994597a cppcheck 2015-06-02 22:49:22 +02:00
Willi Goesgens 66c6fe6e2c When shutting down the Agency, don't delete connections which are just busy. 2015-05-06 18:05:55 +02:00
Willi Goesgens 8a407c6576 Give the Agency more time to reply before we retry. 2015-02-26 15:24:47 +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
Willi Goesgens 26a0ce441c nullptr 2014-10-29 19:11:48 +01:00
Jan Steemann 8bb213e7ba sort and cache list expression values
emplace

fixed wrong assertion
2014-10-29 01:02:20 +01:00
Jan Steemann 13d240384f less namespace pollution 2014-10-28 00:24:37 +01:00
Jan Steemann 3c05701851 nullptr 2014-10-23 22:50:53 +02:00
Jan Steemann 506936dcdb rename orgy 2014-09-13 02:35:13 +02:00
Jan Steemann 87afcf5e8d the great rename 2014-09-13 00:10:11 +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 4f3ed048e4 fixed disconnect of agency connections, use less CPU while spinning in agency methods 2014-05-28 13:44:35 +02:00
Max Neunhoeffer df68f47338 Use StringBuffer in SimpleHttpResult rather than stringstream. 2014-05-07 16:35:40 +02:00
Max Neunhoeffer cb8f0257a7 Give the server state in the agency a time to live. 2014-02-28 18:47:46 +01:00
Jan Steemann 460455d0ed dont clear result 2014-02-26 16:31:23 +01:00
Jan Steemann 6c4a9d45d7 fixed memleaks 2014-02-07 12:58:45 +01:00
Max Neunhoeffer a792adec39 Leave connection to agency open. 2014-01-30 20:56:30 +01:00
Jan Steemann e906f68235 windows fixes 2014-01-27 17:46:15 +01:00
Jan Steemann 8010963a94 handle plan change for create/drop database 2014-01-16 17:03:10 +01:00
Jan Steemann f193cc31ef added diagnostic output for heartbeat 2014-01-16 11:39:40 +01:00
Jan Steemann fcb545d268 removed unused methods 2014-01-15 14:00:42 +01:00
Jan Steemann 4a805062bb changed internal APIs 2014-01-15 13:36:38 +01:00
Jan Steemann ce2627619e create collection stub 2014-01-14 16:21:48 +01:00
Jan Steemann 4ec6f04932 return collection properties 2014-01-14 13:19:43 +01:00
Max Neunhoeffer 8c8c0bff69 Create database in cluster done. 2014-01-13 15:07:32 +01:00
Jan Steemann 70ac8a4d1b tried to fix http 400 (agency error 401) 2014-01-13 14:47:32 +01:00
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
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 7c27a646f7 removed a few over-eager asserts 2014-01-07 11:57:42 +01:00
Jan Steemann 3309743c1a moved some collection parameters around 2014-01-07 11:02:49 +01:00
Jan Steemann 5c0e6e12e0 added tests for serverstate and clusterinfo 2014-01-06 18:19:14 +01:00
Jan Steemann 5571698555 serialize/unserialize collection data from agency 2014-01-03 19:04:50 +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
Jan Steemann 532a59d0a3 added agency locks 2014-01-03 13:52:54 +01:00
Jan Steemann 87c1897c23 added lock and unlock functions, yet untested 2014-01-02 18:03:08 +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 8070db37a2 changed heartbeat watch implementation 2014-01-02 13:36:26 +01:00
Max Neunhoeffer 62976629f0 Various memory leaks and callback improvements. 2013-12-27 13:15:52 +01:00
Jan Steemann c460ab97e9 applied changes from devel branch 2013-12-20 15:40:56 +01:00
Jan Steemann 897ddca313 startup/shutdown modifications 2013-12-12 15:25:53 +01:00
Jan Steemann 5b0713af9c added recursive watches and structured get 2013-12-12 11:16:41 +01:00
Jan Steemann 5e5a5fb32b added JS bindings for agency 2013-12-11 09:56:54 +01:00
Jan Steemann c4bb315626 added comment 2013-12-10 14:34:53 +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