1
0
Fork 0
Commit Graph

143 Commits

Author SHA1 Message Date
Max Neunhoeffer 0b068fa3e4 Create log topics for AgencyComm and Heartbeat. 2016-05-09 13:19:23 +02:00
Max Neunhoeffer f971c3cf82 Overhaul AgencyCallback. 2016-05-07 01:11:15 +02:00
Max Neunhoeffer 1d8c7e4515 Take out a debug message. 2016-05-06 22:46:40 +02:00
Max Neunhoeffer 0fbc48b83e Improve cluster in various ways.
Finish implementation of AgencyReadTransaction.
Use AgencyReadTransaction in HeartbeatThread of coordinator (less requests).
Repair ClusterInfo::uniqid.
Repair AgencyComm::uniqid.
Remove x-etcd-index header.
Remove _index in AgencyCommResult.
Streamline HeartbeatThread of coordinator.
Remove lastCommandIndex from AgencyComm.
Fix HeartbeatThread::handleStateChange.
2016-05-06 22:30:27 +02:00
Max Neunhoeffer cae72d0d61 Make _vpack of AgencyCommResult abstract. 2016-05-04 16:49:02 +02:00
Max Neunhoeffer cd39a884f9 Fix fix. 2016-05-04 16:28:54 +02:00
Max Neunhoeffer 441f1caa4e Fix new getValues2 calls. 2016-05-04 16:28:29 +02:00
Max Neunhoeffer 355a412cd4 Remove second argument of getValues2. 2016-05-04 16:02:05 +02:00
Max Neunhoeffer c2ff6c326f Fix a few possible crashes in HeartBeatThread. 2016-05-04 15:20:46 +02:00
Max Neunhoeffer 0ac60a8fe7 Merge branch 'devel' into json_agency_comm 2016-05-04 11:15:02 +02:00
Wilfried Goesgens 4fb12c91b1 Revalidate dispatcher pointer before accessing it and throw appropriate error message if not. 2016-05-03 16:56:50 +02:00
Max Neunhoeffer 4e14d6ddb8 Merge branch 'json_agency_comm' of ssh://github.com/ArangoDB/ArangoDB into json_agency_comm 2016-05-03 15:27:03 +02:00
Max Neunhoeffer 416c493534 Cleanup stuff in ClusterInfo, invalidate caches when needed. 2016-05-03 15:24:49 +02:00
Kaveh Vahedipour 0f1e961f2d removing debug output 2016-05-03 13:58:51 +02:00
Kaveh Vahedipour bd0c60f5e8 removed debug output 2016-05-03 11:49:09 +00:00
Max Neunhoeffer 7c7394b0fb Recheck Current/Version every 5 heartbeats. 2016-05-03 12:55:03 +02:00
Kaveh Vahedipour 3608d91f87 Corrected create database in coordinator 2016-05-03 10:06:20 +02:00
Kaveh Vahedipour dab8accd5b Merge branch 'devel' of https://github.com/arangodb/arangodb into json_agency_comm 2016-05-03 08:57:09 +02:00
Andreas Streichardt 36b3a50bb8 Remove current callback leftovers (dead anyway) 2016-05-02 18:46:27 +02:00
Kaveh Vahedipour b791188f18 Merge branch 'devel' of https://github.com/arangodb/arangodb into json_agency_comm 2016-05-02 17:49:11 +02:00
Andreas Streichardt 0790b00737 hotfix for cluster startup 2016-05-02 17:45:39 +02:00
Kaveh Vahedipour 00ce93b8d0 Merge branch 'devel' of https://github.com/arangodb/arangodb into json_agency_comm 2016-05-02 16:14:37 +02:00
Andreas Streichardt ae83410d40 Multithreading and V8 fixes 2016-05-02 14:18:23 +02:00
Andreas Streichardt 974ecdc208 Implement Current callback 2016-05-02 14:00:26 +02:00
Andreas Streichardt 18ea698038 Restructure code so that the installed versions are being returned by
the plan changer
2016-05-02 12:19:07 +02:00
Kaveh Vahedipour 86959d83a6 Merge branch 'devel' of https://github.com/arangodb/arangodb into json_agency_comm 2016-04-29 16:29:05 +02:00
Andreas Streichardt e26d1e4a7d Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-04-29 15:17:35 +02:00
Andreas Streichardt b784084cbc Fix uninitialised value 2016-04-29 15:17:19 +02:00
Max Neunhoeffer 017d4a56a7 Better logging. 2016-04-29 14:45:27 +02:00
Andreas Streichardt 6ef558765c execute heartbeat logic at least once 2016-04-29 11:41:53 +02:00
Kaveh Vahedipour 7733e16392 UserVersion is a number 2016-04-29 10:45:27 +02:00
Kaveh Vahedipour ee2115ceeb remaining verbose output 2016-04-28 16:28:59 +02:00
Kaveh Vahedipour e81e3e51e0 javascript side of jsonified agency 2016-04-28 15:15:55 +02:00
Kaveh Vahedipour d886a85f31 Merge branch 'devel' of https://github.com/arangodb/arangodb into json_agency_comm 2016-04-28 10:47:10 +02:00
Kaveh Vahedipour b8badcb8ce one of db-servers went into recess after many news and drops 2016-04-28 08:46:21 +00:00
Kaveh Vahedipour 049cc8602e careful with loops :( 2016-04-27 16:53:09 +02:00
Kaveh Vahedipour 4e2d86dc67 Merge branch 'devel' of https://github.com/arangodb/arangodb into json_agency_comm 2016-04-26 10:55:13 +02:00
Kaveh Vahedipour 1a30b0495d continous 2016-04-26 10:55:09 +02:00
Jan Steemann a0883fb0fc fixed busy wait 2016-04-26 10:48:42 +02:00
Kaveh Vahedipour d4fc6a1062 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-04-25 18:37:32 +02:00
Kaveh Vahedipour 0530603763 dirty yet 2016-04-25 18:37:28 +02:00
Andreas Streichardt a889cf5710 Rework dispatchedPlanVersion...fix races 2016-04-25 16:40:35 +02:00
Jan Steemann f93017d880 fix Visual Studio warning 2016-04-25 14:17:35 +02:00
Andreas Streichardt c5cbc1ae7d Fix cluster collection handling 2016-04-25 13:19:13 +02:00
Kaveh Vahedipour d2a95f2022 dirty yet 2016-04-22 19:04:59 +02:00
Andreas Streichardt 46b6561d78 Create planned collection in one transaction 2016-04-22 11:21:31 +02:00
Frank Celler dd44191a91 WIP 2016-04-15 21:03:53 -07:00
Frank Celler cd91d3654e Merge remote-tracking branch 'origin' into FMH 2016-04-15 19:01:38 -07:00
Andreas Streichardt 612c387c56 Optimize version increase stuff 2016-04-14 18:17:25 +02:00
Jan Steemann 5c17402536 reduce number of agency requests a bit 2016-04-14 11:40:21 +02:00