1
0
Fork 0
Commit Graph

213 Commits

Author SHA1 Message Date
Kaveh Vahedipour 8185588bb2 double percision conserved for timeout in AgencyComm 2016-11-03 16:47:38 +01:00
Frank Celler f54f0e5db1 minor typo 2016-11-03 13:42:15 +00:00
Kaveh Vahedipour ea485b98f2 ltries not incremented 2016-11-03 14:25:53 +01:00
Kaveh Vahedipour 07cddc3560 Waiting for leader election in AgencyComm::sendWithFailover 2016-11-03 14:24:23 +01:00
Kaveh Vahedipour 8b99d8995a Fix unfinished gossips 2016-11-02 11:36:57 +01:00
Andreas Streichardt ad2327022e Merge remote-tracking branch 'origin/devel' into authentication 2016-10-17 13:51:26 +02:00
Andreas Streichardt 1318fa313b Implement cluster authentication 2016-10-17 13:35:55 +02:00
Max Neunhoeffer 33adc23910 Try to fix agency.
Various fixes:
  - only call for an election if no leader has announced itself
  - protect access to _cast and _votedFor
  - and then some
2016-10-14 17:53:01 +02:00
Max Neunhoeffer 8c7034e249 More logging in AgencyComm. 2016-10-14 09:55:27 +02:00
Max Neunhoeffer 46fa78508e Add more logging to agency and AgencyComm. 2016-10-13 20:35:19 +02:00
Max Neunhoeffer dd28cb20c6 Better logging of redirects. 2016-10-13 15:42:45 +02:00
Max Neunhoeffer 012d862f08 More logging in redirect case in AgencyComm. 2016-10-13 15:00:39 +02:00
Kaveh Vahedipour c793c3ac44 FailedServer jobs can report when last FailedLeader has been processed 2016-09-22 17:23:56 +02:00
Jan Christoph Uhde 1febeadfd7 finish ResponseCode enum 2016-08-23 15:46:42 +02:00
Jan Christoph Uhde d3654d99d8 finish RequestType enum 2016-08-23 14:49:29 +02:00
jsteemann f6ca78f9e7 removed JsonParser 2016-08-19 12:39:26 +02:00
Andreas Streichardt f28d429bd5 fix ssl endpoint 2016-08-04 13:34:42 +02:00
Frank Celler a92add0a9f renamed RestServerFeature to GeneralServerFeature 2016-07-23 14:16:10 +02:00
Kaveh Vahedipour cd9175a409 this is the end of CommLock as we know it ... 2016-06-23 13:09:58 +02:00
Max Neunhoeffer 287f5a412d Add /Target/CleanedServers in agency (init & read out in API).
Note: Supervision still needs to add cleaned servers there.
2016-06-07 15:54:13 +02:00
Andreas Streichardt 84a7213755 Add jwtsecret 2016-05-30 14:48:35 +02:00
Max Neunhoeffer febb36fb1c Put in API to scale cluster via the coordinators. 2016-05-24 15:44:35 +02:00
Kaveh Vahedipour e3b78a8f6e supervising on 2016-05-19 16:59:08 +02:00
Max Neunhoeffer be84973c40 Fix ArangoPrefix to "arango". 2016-05-17 11:20:22 +02:00
Max Neunhoeffer c2ce2c5347 Remove tabs in source. 2016-05-11 16:38:36 +02:00
Max Neunhoeffer 20cd5f2c2a Delete more unused stuff from AgencyComm. 2016-05-11 16:15:01 +02:00
jsteemann 3f1516eca7 bugfixes 2016-05-11 15:01:06 +02:00
Max Neunhoeffer f41ab22098 Change a few startup messages from level INFO to DEBUG. 2016-05-11 11:42:33 +02:00
jsteemann 0ce8599598 fixes for MSVC 2016-05-10 19:01:21 +02:00
Max Neunhoeffer 39ecd9fd13 Rename prefix and prefixStripped in AgencyComm. 2016-05-10 16:00:07 +02:00
Max Neunhoeffer 825f010980 Rename getValues2 to getValues. 2016-05-10 15:52:54 +02:00
Max Neunhoeffer d44546296d Remove AgencyComm::getValues() for good and purge TRI_json_t in ClusterInfo. 2016-05-10 15:43:58 +02:00
Max Neunhoeffer d1e5b65737 Two fewer AgencyComm::getValues() calls. 2016-05-09 16:55:42 +02:00
Max Neunhoeffer 409ae6f7cd Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-05-09 15:43:08 +02:00
Max Neunhoeffer b571bf535d Fix AgencyComm.
Result code precondition failed was overwritten with 200,
breaking all casValue calls.
2016-05-09 15:37:57 +02:00
Kaveh Vahedipour 5f2c72c4a9 broken sendTransactionWithFailover sent 200 regardless of actual error 2016-05-09 14:43:57 +02:00
Max Neunhoeffer 0b068fa3e4 Create log topics for AgencyComm and Heartbeat. 2016-05-09 13:19:23 +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
Kaveh Vahedipour 0bb19c0955 Merge branch 'json_agency_comm' of https://github.com/arangodb/arangodb into json_agency_comm 2016-05-04 16:52:23 +02:00
Kaveh Vahedipour af7e490d2a wrong implementation of property collectionsetting through coordinator 2016-05-04 16:52:14 +02:00
Max Neunhoeffer cae72d0d61 Make _vpack of AgencyCommResult abstract. 2016-05-04 16:49:02 +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
Kaveh Vahedipour 7eed0ecc2f Merge branch 'json_agency_comm' of https://github.com/arangodb/arangodb into json_agency_comm 2016-05-04 15:00:41 +02:00
Kaveh Vahedipour 9d8037b62b added /supervision/jobs to initial agency structure 2016-05-04 15:00:33 +02:00
Max Neunhoeffer cc8c635beb Some cleanup in Agency init data. 2016-05-04 11:13:23 +02:00
Max Neunhoeffer b13b12960b Sort out AgencyReadTransactions and cleanup AgencyWriteTransactions. 2016-05-04 00:08:15 +02:00
Kaveh Vahedipour 5d911bceb4 Merge branch 'devel' of https://github.com/arangodb/arangodb into json_agency_comm 2016-05-03 15:48:36 +02:00
Kaveh Vahedipour c6ab722f97 corrected for cluster shell agency test 2016-05-03 15:01:52 +02:00
Kaveh Vahedipour bd0c60f5e8 removed debug output 2016-05-03 11:49:09 +00:00