1
0
Fork 0
Commit Graph

153 Commits

Author SHA1 Message Date
Kaveh Vahedipour 0e29e93816 race condition in agency when leader impaired 2016-12-19 15:00:32 +01:00
Kaveh Vahedipour 3068b8ecb5 votes properly accounted for 2016-12-19 09:10:26 +01:00
Kaveh Vahedipour 47463a2f1c Agency startup redone after revisit of design document 2016-12-07 11:56:41 +01:00
Kaveh Vahedipour ffe7f9f3ad merged in devel 2016-11-16 14:59:53 +01:00
Kaveh Vahedipour 2b93488e3f agency wouldn't restart from persisted state 2016-10-28 16:30:19 +02:00
Frank Celler 62f4acc325 Merge branch 'devel' of github.com:arangodb/arangodb into FMH 2016-10-26 14:49:16 +02:00
Kaveh Vahedipour f8235b9c63 agency locks code review 2016-10-25 15:07:57 +02:00
Kaveh Vahedipour df635cef54 documenting lock in agency 2016-10-24 15:04:06 +02:00
Frank Celler e4ba82e8e9 rewrite of AgencyComm 2016-10-23 00:46:30 +02:00
Max Neunhoeffer 75ecf79277 Large scale inquisition of agency. 2016-10-21 10:34:46 +00:00
Frank Celler de71768bd0 fixed timeouts 2016-10-19 13:21:26 +00:00
Max Neunhoeffer 1d7f92988b Some agency logging back to debug level. 2016-10-18 15:47:55 +02:00
Jan Steemann 87c536bf6c removed unused variable 2016-10-18 10:30:29 +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 032eb5fba9 More and better logging. 2016-10-13 16:32:40 +02:00
Max Neunhoeffer 03e331f1af More logging of _role and _leaderID changes in agency. 2016-10-13 15:57:37 +02:00
Andreas Streichardt e75b8f5503 Implement cURL based inter server communication 2016-10-10 14:56:04 +02:00
Kaveh Vahedipour b34cadbc10 bug in restart of actove agent 2016-09-19 15:02:28 +02:00
Kaveh Vahedipour fb1a729c1b more robust network independance in RAFT election cycle 2016-09-09 16:02:58 +02:00
Kaveh Vahedipour 3135fcb5dd Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-09-08 17:40:40 +02:00
Kaveh Vahedipour 33c2692c50 optimising agency handover 2016-09-08 17:39:50 +02:00
jsteemann c488375e36 Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types 2016-09-08 12:53:36 +02:00
Kaveh Vahedipour 4704892a17 restructuring agent wakeup 2016-09-08 12:49:24 +02:00
jsteemann dfca849325 Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types 2016-09-07 12:06:43 +02:00
Kaveh Vahedipour 288f42c531 constituent starting anyway without inception 2016-09-07 11:52:21 +02:00
jsteemann 9611f30796 Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types 2016-09-07 11:44:49 +02:00
Kaveh Vahedipour 57453c96c5 Logging in cluster. No votes in constituent before vocbase != nullptr 2016-09-07 11:09:33 +02:00
Kaveh Vahedipour a37d073813 a candidate of a leader could ask a strarting up agent for a vote before it having a vocbase. 2016-09-07 11:02:15 +02:00
jsteemann e1c847b0f6 Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types 2016-09-07 09:52:38 +02:00
Kaveh Vahedipour f5cb4e7e1e replaced sleep_for by wait in inception phase 2016-09-07 09:50:36 +02:00
jsteemann 6ddf8bab54 Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types 2016-09-06 11:22:14 +02:00
Kaveh Vahedipour 85ea1d5ff9 clang-format 2016-09-06 10:01:33 +02:00
jsteemann 1823cff3a9 removed TRI_collection_t 2016-09-02 14:54:13 +02:00
jsteemann fb04340937 Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types 2016-09-01 10:47:44 +02:00
Kaveh Vahedipour 4f98c4dd49 RAFT read bug 2016-09-01 09:18:44 +02:00
jsteemann fa21e70256 Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types 2016-08-31 17:59:54 +02:00
Kaveh Vahedipour 2550dd22e0 fixed issue with leadership in minority 2016-08-31 17:23:48 +02:00
jsteemann f92815b09b Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-vs-velocystream 2016-08-24 09:38:06 +02:00
Jan Christoph Uhde 5be5030983 Merge branch 'obi-velocystream-enums' into engine-vs-velocystream
* obi-velocystream-enums:
  clean up - remove enumToEnum magic
  finish ResponseCode enum
  finish  ProtocolVersion, ProtocolType and ConnectionType
  finish ContentType enum
  preapre move of ContentTypes
  finish RequestType enum
  prepare replacement of request types
  even more error messages
  slightly better error messages
  better exceptions form event loop
  mark len constexpr

Conflicts:
	arangod/Agency/Inception.cpp
2016-08-23 16:01:58 +02:00
Kaveh Vahedipour fb8173b1ec rest handler now timeouts when no leadership established and reports 503 2016-08-23 15:38:32 +02:00
Jan Christoph Uhde d3654d99d8 finish RequestType enum 2016-08-23 14:49:29 +02:00
Andreas Streichardt 47a0f8602a Better shutdown handling 2016-08-23 12:51:38 +02:00
Kaveh Vahedipour 7c706ecdc8 weekend edition 2016-08-19 17:59:58 +02:00
Kaveh Vahedipour 761b986312 warnings and correct handling of pool size 2016-08-19 14:19:56 +02:00
Kaveh Vahedipour 4570320a5b dumb warnings 2016-08-19 13:44:01 +02:00
Kaveh Vahedipour b3ba9be57f we have a bootstrapping agency 2016-08-19 06:05:33 +02:00
Kaveh Vahedipour 0bdfdc7cb6 votes are processed correctly again 2016-08-19 05:11:52 +02:00
Kaveh Vahedipour 9cbffca282 accidentally commented out reportIn mutex_locker 2016-08-18 16:06:47 +02:00
Kaveh Vahedipour 6edc1ff5fa AgentConfiguration needed to handle its own read/write locks 2016-08-18 15:54:42 +02:00
Kaveh Vahedipour c613fe50e2 pushing out of desperation 2016-08-16 17:51:21 +02:00