1
0
Fork 0
Commit Graph

219 Commits

Author SHA1 Message Date
Kaveh Vahedipour 37472ddcdc revisited the appendEntries API 2017-02-14 15:18:07 +01:00
Kaveh Vahedipour 05250b6c7b back port of bug fixes in 3.1 2017-02-14 15:07:51 +01:00
Max Neunhoeffer 883c11ea45 Handle the case that ClusterComm is already shut down gracefully.
This touches every single place where ClusterComm is being used.
2017-02-07 15:31:40 +01:00
Kaveh Vahedipour f3cb1307a5 3.1 fixes backported to devel 2017-02-03 10:48:25 +01:00
jsteemann 00b1632ece factored out AccessMode from transaction.h 2017-01-25 11:57:21 +01:00
Kaveh Vahedipour ce687562f2 less rigid expectation on smooth operations through agency comm under worst case scenarios. 2016-12-28 10:32:20 +01:00
Max Neunhoeffer fc52c04bf4 Improve debug messages in Agency. 2016-12-23 14:25:03 +01:00
Max Neunhoeffer 2b26224c95 Adding _term to log message. 2016-12-23 14:15:48 +01:00
Max Neunhoeffer 4580bf1083 Fix bug which triggered an election too many. 2016-12-23 14:02:33 +01:00
Kaveh Vahedipour 3532fd6af5 endopint needs clearing after failure in agencycomm 2016-12-23 11:47:06 +01:00
Kaveh Vahedipour cf5ae36a14 agency more verbose for fixing cluster tests in jenkins 2016-12-23 11:10:22 +01:00
Max Neunhoeffer 138dfdea64 Improve debugging output in election. 2016-12-20 09:34:30 +01:00
Max Neunhoeffer 47297624ce Further rearrangement in election loop. 2016-12-20 09:24:19 +01:00
Kaveh Vahedipour dcc015f37a max's criticism 2016-12-20 08:54:53 +01:00
Kaveh Vahedipour 27e4b170cf assuming leadership separated in a preparation part and in a action part 2016-12-19 17:42:07 +01:00
Kaveh Vahedipour 034961142a constituent does elections more efficiently 2016-12-19 17:19:58 +01:00
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
Kaveh Vahedipour 1a23803238 multiagent gossip 2016-08-16 15:46:00 +02:00
Kaveh Vahedipour 131291c2f9 single agent with uuid after fresh start 2016-08-15 17:53:01 +02:00
Kaveh Vahedipour 692d01638c single agent with uuid after fresh start 2016-08-15 13:13:58 +02:00
Kaveh Vahedipour 4759b2a434 Agency compiling again 2016-08-11 12:05:53 +02:00
Kaveh Vahedipour a0c02ca29d trying to rebuild agency 2016-08-10 17:08:36 +02:00
Kaveh Vahedipour 5bdf6fcdb6 2/3 through new startup 2016-08-09 18:40:59 +02:00
Kaveh Vahedipour bc042e858e raft testing revealed performance optimisation in receiver and of appendentries 2016-08-05 09:41:50 +02:00
Jan Steemann d9aa695cea complaints 2016-07-12 15:36:47 +01:00
Kaveh Vahedipour 4ead4f0ed7 compaction bug fixed for followers 2016-07-01 11:27:33 +02:00
Kaveh Vahedipour 7dcee21432 bug fixes agancy backported from devel 2016-06-30 14:04:26 +02:00
Kaveh Vahedipour bfbc89f4f9 bug fixes agancy backported from devel 2016-06-30 14:00:52 +02:00
Kaveh Vahedipour 07bba4a9a9 bug fixes agancy backported from devel 2016-06-30 13:50:12 +02:00
Kaveh Vahedipour 29acdad6bf unnecessary double condition 2016-06-29 17:42:41 +02:00
Kaveh Vahedipour 1baf2050c6 waitForCommited bug in agency fixed 2016-06-29 14:54:05 +02:00
Jan Steemann eea20e5fa2 fix VS warnings 2016-06-28 17:23:49 +02:00
Kaveh Vahedipour 363556bbf6 some additional checking of vector bounds and assertions 2016-06-28 11:01:50 +02:00
Max Neunhoeffer c1ea48b699 Fix a deadlock in the Constituent. 2016-06-27 13:35:11 +02:00
Kaveh Vahedipour 132788a205 agency raft voting logging demoted from INFO to DEBUG 2016-06-15 14:38:52 +02:00
Kaveh Vahedipour e4556bb766 fixed seldom race in election pulled back from 3.0 2016-06-15 12:35:40 +02:00
Kaveh Vahedipour 2f3c86dd1d error handling in rest handling and random generator in constituent 2016-06-14 14:53:33 +02:00
Kaveh Vahedipour ab593bfa94 error handling in rest handling and random generator in constituent 2016-06-14 14:51:48 +02:00
Kaveh Vahedipour 658a2a8f3d clean up code, document 2016-06-14 12:00:34 +02:00
Kaveh Vahedipour 70f7a2a9d3 agency shutdown problems 2016-06-09 14:08:11 +00:00
Kaveh Vahedipour 09535492d6 waitForCommit is new default behaviour of writes in agency 2016-06-09 13:14:19 +02:00
Kaveh Vahedipour 86bc29f61e Added standalone agency script 2016-06-09 09:05:13 +02:00
Kaveh Vahedipour 382ac052d4 resilience green 2016-06-08 18:27:59 +02:00
Kaveh Vahedipour 680412166d plan version increments added to status 2016-06-08 10:15:56 +02:00
Kaveh Vahedipour e39c3dd118 multi-host agency clean shutdown 2016-06-07 16:55:50 +00:00
Max Neunhoeffer 7ab83d4050 Slightly change signature of asyncRequest.
Error handling was inconsistent. This is cleaned up now.
2016-06-04 16:19:54 -06:00
Frank Celler 9646f736fb clang-format 2016-05-18 14:51:09 +00:00
jsteemann 96fceb4411 use std::unordered_maps for headers 2016-05-01 20:52:47 +02:00
Kaveh Vahedipour 724c5dd6c7 solaris' ineptness 2016-04-25 16:51:54 +00:00
Jan Steemann c8c8625727 try to fix some undefined behavior on cluster startup 2016-04-25 15:31:23 +02:00
Jan Steemann 38e543e0a8 cppcheck 2016-04-22 15:51:03 +02:00