1
0
Fork 0
Commit Graph

393 Commits

Author SHA1 Message Date
jsteemann b718f67ff6 Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types 2016-09-06 14:40:51 +02:00
Kaveh Vahedipour 64887d6a86 agency tests wait for leadership to be established 2016-09-06 14:10:54 +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
Kaveh Vahedipour 030d3f146e minor 2016-09-06 09:55:52 +02:00
Kaveh Vahedipour b1d645b841 We can handle dying dbservers during collection creation 2016-09-05 14:06:53 +02:00
jsteemann 3ac79c8132 Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types 2016-09-01 15:08:42 +02:00
Kaveh Vahedipour 6239a5fbc5 minor reorganisation 2016-09-01 13:45:15 +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 51da548a6b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-09-01 07:37:00 +00:00
Kaveh Vahedipour 804c30803f RAFT read bug in leader isolation 2016-09-01 09:35:17 +02:00
Kaveh Vahedipour 48099cf067 merging back into jepsen impl 2016-09-01 07:22:30 +00:00
Kaveh Vahedipour a19314f27e geez 2016-09-01 07:20:22 +00: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 6c57f4eb67 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-08-31 15:24:28 +00:00
Kaveh Vahedipour 2550dd22e0 fixed issue with leadership in minority 2016-08-31 17:23:48 +02:00
Kaveh Vahedipour c8178239e1 agency configuration persisted to state machine 2016-08-30 14:41:28 +02:00
Kaveh Vahedipour b94f17fb21 minor timing 2016-08-26 15:30:26 +00:00
Kaveh Vahedipour d7334c5616 minor timing 2016-08-26 15:29:41 +00:00
jsteemann 4b53310189 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-vs-velocystream 2016-08-26 13:42:40 +02:00
Kaveh Vahedipour b409a1ff25 Adding Foxx access to agenc 2016-08-26 13:35:39 +02:00
root c7f8046e48 raft bug. leader ship cannot be rendered to higher term and lower index. 2016-08-24 09:26:34 +00:00
jsteemann 6fc162d5a1 fix compile errors after merge 2016-08-24 09:44:05 +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
Kaveh Vahedipour 7c706ecdc8 weekend edition 2016-08-19 17:59:58 +02:00
jsteemann ff45c3fd07 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-19 15:19:51 +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
jsteemann c5f151da5c Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-19 11:01:15 +02:00
Kaveh Vahedipour 4177f6bef0 gossipping logs move from debug to trace 2016-08-19 10:59:26 +02:00
Kaveh Vahedipour 0bdfdc7cb6 votes are processed correctly again 2016-08-19 05:11:52 +02:00
Kaveh Vahedipour 11776faa54 correct persistence after agency activation 2016-08-18 18:23:20 +02:00
Kaveh Vahedipour 15d2e9285c it seems as if the bootstrap is good to go 2016-08-18 17:24:32 +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 6f2d87ac71 intermediate for bug tracking 2016-08-17 13:27: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 a712b60ee3 single agent with uuid after fresh start 2016-08-15 19:28:42 +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 ec27b6f60e Agency compiling again 2016-08-11 13:52:17 +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
jsteemann 0ceccf6370 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-05 16:23:30 +02:00
Kaveh Vahedipour bc042e858e raft testing revealed performance optimisation in receiver and of appendentries 2016-08-05 09:41:50 +02:00
jsteemann 1139505641 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-04 17:19:05 +02:00
Kaveh Vahedipour becf446cac fixed compaction bug 2016-08-04 15:57:32 +02:00
Kaveh Vahedipour 307332e817 raft testing revealed performance optimisation in receiver and of appendentries 2016-08-04 15:46:23 +02:00
jsteemann ac1e4c1ef7 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-03 14:43:56 +02:00
Kaveh Vahedipour 99db350780 compaction bug in agency 2016-08-03 14:20:06 +02:00
Kaveh Vahedipour 0221f2582c fixed compaction bug 2016-08-03 13:59:40 +02:00
jsteemann 8baa7ec955 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-03 13:39:00 +02:00
Kaveh Vahedipour fde28d1a61 sped up agency communication. startLocalCluster now starts up about the same time regardless of agency size. 2016-08-03 13:13:48 +02:00
jsteemann 2256ffd5b2 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-03 10:52:03 +02:00
Kaveh Vahedipour e42d8e432b wrong push on startLocalCluster 2016-08-03 10:31:42 +02:00
Kaveh Vahedipour 97f5e957fa supervision not woken up after leadership change 2016-08-02 16:09:24 +02:00
jsteemann 09437deb1a Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-02 13:49:18 +02:00
Kaveh Vahedipour cab4d78eee fixed compaction bug in RAFT 2016-08-02 13:13:05 +02:00
jsteemann cc51773a46 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-01 17:17:05 +02:00
Kaveh Vahedipour da893cc056 integrated agency bugfix from 3.0 2016-08-01 13:46:52 +00:00
jsteemann 2aa2e0dab4 removed server.h 2016-07-25 16:49:52 +02:00
jsteemann 8cf7fc889d renamed method 2016-07-18 18:07:11 +02:00
Kaveh Vahedipour 4ead4f0ed7 compaction bug fixed for followers 2016-07-01 11:27:33 +02:00
Kaveh Vahedipour 8d9e636779 fixing follower agency compaction 2016-07-01 10:36:54 +02:00
Kaveh Vahedipour afbddb643b compaction bug on followers 2016-07-01 09:33:34 +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 e922909d6d empty arrays handled wrong 2016-06-29 15:39:51 +02:00
Kaveh Vahedipour 1baf2050c6 waitForCommited bug in agency fixed 2016-06-29 14:54:05 +02:00
Kaveh Vahedipour e06a5bc70f some additional checking of vector bounds and assertions 2016-06-28 09:26:33 +02:00
Kaveh Vahedipour e6ccc76d36 bogus matching entries warnings 2016-06-27 13:42:54 +02:00
Max Neunhoeffer 5a6b5af02a Ensure that Store::_agent is set when first used.
This fixes a data race at startup.
2016-06-27 12:13:25 +02:00
Kaveh Vahedipour 1043af68f7 agency will hold back responses until such time that leader has been elected 2016-06-24 16:37:57 +02:00
Kaveh Vahedipour b40e5a3d24 agency test waits exactly for the leader election to have ended 2016-06-23 10:48:26 +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 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
Kaveh Vahedipour c0204e89d9 green tests in agencySize 3 2016-06-07 17:16:58 +02:00
Kaveh Vahedipour ac2fc7b8a0 hunting down invalid mutex in shutdown of agency 2016-06-01 12:51:56 +00:00
Kaveh Vahedipour cc23d0df99 Cleaning out server 2016-06-01 13:44:27 +02:00
Kaveh Vahedipour 2799275634 hunting down exceptions in agency supervision 2016-05-31 21:49:07 +02:00
Frank Celler 9646f736fb clang-format 2016-05-18 14:51:09 +00:00
Kaveh Vahedipour 13b44f3a51 compaction tested 2016-05-18 12:43:38 +02:00
Kaveh Vahedipour 182e1a2fbe supervising on 2016-05-17 17:47:21 +02:00
Kaveh Vahedipour b3710f8e9f there is a problem dealing with LatestID 2016-05-14 23:01:33 +02:00
Kaveh Vahedipour ed2c21e308 compaction ok 2016-05-14 21:30:21 +02:00
Max Neunhoeffer 73bdf4b8b5 More silence at startup. 2016-05-11 14:48:31 +02:00
Kaveh Vahedipour 220c286a11 agency compaction to c++ database api 2016-05-09 08:12:22 +02:00
jsteemann 3dc22413d6 fixed typo 2016-05-04 21:52:08 +02: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
Kaveh Vahedipour 1acb0cba6f agency/cluster startups seem correct 2016-04-21 11:19:07 +02:00
Kaveh Vahedipour 70528a9abd shifted critical mass logs to DEBUG 2016-04-20 16:07:38 +00:00
Max Neunhoeffer 7a12918021 Fix agency startup. Agency not yet working. 2016-04-20 12:25:13 +02:00
Kaveh Vahedipour 87bc35068b FHM merge from devel 2016-04-19 09:59:33 +00:00
Kaveh Vahedipour d97d23b8df naming and FMH merge perp 2016-04-19 07:59:51 +00:00
Kaveh Vahedipour 934b7ca107 cppcheck warnings 2016-04-19 08:40:56 +02:00
Frank Celler 007fe8e053 Merge branch 'devel' of https://github.com/arangodb/arangodb into FMH
Conflicts:
	arangod/Agency/Constituent.cpp
	arangod/Agency/RestAgencyHandler.cpp
	arangod/Aql/Query.cpp
	arangod/Aql/grammar.cpp
	arangod/RestHandler/RestSimpleQueryHandler.cpp
	arangod/RestServer/ArangoServer.cpp
	js/client/modules/@arangodb/testing.js
2016-04-19 07:44:00 +02:00
Kaveh Vahedipour 76a0b2d41a cluster startup and supervision 2016-04-18 13:08:49 +02:00
Frank Celler 2dd798cd48 WIP 2016-04-15 22:09:55 -07:00
Frank Celler e298ac9881 Merge branch 'devel' of github.com:arangodb/arangodb into FMH 2016-04-15 21:05:52 -07:00
Frank Celler dd44191a91 WIP 2016-04-15 21:03:53 -07:00
Max Neunhoeffer 83771447c9 Silence a warning that shows up in every cluster test. 2016-04-15 15:24:24 +02:00
Max Neunhoeffer 0918516e34 Minor changes. 2016-04-15 12:27:35 +02:00
Kaveh Vahedipour 544b8df334 signle instance agency doesn't need to utilize thread in Agent 2016-04-14 14:57:39 +02:00
Kaveh Vahedipour fa6e12efe4 option to turn off sync for wait on every persistence call 2016-04-13 19:40:19 +02:00
Kaveh Vahedipour b7c2a03558 introducing cluster sanity checking to agency 2016-04-12 10:59:18 +02:00
Kaveh Vahedipour bf95261493 introducing cluster sanity checking to agency 2016-04-12 10:25:52 +02:00
Kaveh Vahedipour f02b327827 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-04-11 17:36:51 +02:00
Kaveh Vahedipour 9ef35839cc TRI_ReleaseDatabaseServer moved to end of beginshutdown 2016-04-11 15:36:02 +00:00
Kaveh Vahedipour 2b4c89cf49 Catching up with highest log entry on leader 2016-04-11 16:59:43 +02:00
Kaveh Vahedipour f232a8db86 VisualStudio fixes 2016-04-11 15:11:15 +02:00
Kaveh Vahedipour 1c64dfccb6 clang binaries don't like being left with an undefined iterator. no way around fixing it. 2016-04-11 14:36:42 +02:00
Kaveh Vahedipour 67e705eb77 all internal http calls to agency database on vpack 2016-04-11 07:55:28 +00:00
Jan Steemann 51a825cb17 removed HTTP calls 2016-04-08 16:07:16 +02:00
Kaveh Vahedipour 068c852a14 packaging callbacks per transaction 2016-04-08 10:01:25 +02:00
Kaveh Vahedipour 4ae8aae1da redone the single-host and multi-host agency to function in identical way in commiting and confirmation thereof 2016-04-07 12:20:53 +02:00
Kaveh Vahedipour 3d59a0b3c5 implementing code review 2016-04-05 14:46:43 +02:00
Kaveh Vahedipour d0deac1298 implementing code review 2016-04-05 14:28:44 +02:00
Kaveh Vahedipour 8bb3b84aed implementing code review 2016-04-05 14:20:07 +02:00
Kaveh Vahedipour 929d17f32e code review 2016-04-05 08:48:41 +02:00
Kaveh Vahedipour 5caf02768c code beautification 2016-04-04 14:42:49 +02:00
Kaveh Vahedipour b26ea07eaf endpoints are now coming from applicationendpointserver 2016-04-04 11:50:24 +02:00
Kaveh Vahedipour 67e6e403e3 agency's own endpoint is now derived from server.endpoint 2016-04-04 11:28:48 +02:00
Kaveh Vahedipour 0849737d78 Overwriting ttls 2016-04-01 14:28:25 +02:00
Kaveh Vahedipour 8ace3c10a3 Overwriting ttls 2016-04-01 14:24:30 +02:00
Kaveh Vahedipour 650f1bb06a Correction to adapt to HTTP_REQUEST 2016-03-31 17:10:25 +02:00
Kaveh Vahedipour cec6c4bc13 merge back from agency 2016-03-31 11:52:18 +00:00
Kaveh Vahedipour 66d668ba13 merge back from agency 2016-03-31 11:50:05 +00:00
Kaveh Vahedipour a0edfe2b8d ids need to be sorted in the proper order. zero filling from left 2016-03-31 12:23:07 +02:00
Frank Celler 494bdca847 splitted HttpRequest into GeneralRequest/HttpRequest 2016-03-31 11:45:21 +02:00
Kaveh Vahedipour 2ddc1cd8ec i am a teapot if value not found and only a single search string is requested 2016-03-31 11:44:02 +02:00
Kaveh Vahedipour fcc159764c reading persistent log failes on linux 2016-03-31 09:19:05 +00:00
Kaveh Vahedipour f9cc972cff i am a teapot if value not found and only a single search string is requested 2016-03-31 11:04:10 +02:00
Kaveh Vahedipour ecbf988d0f merging back agency into devel 2016-03-31 09:25:05 +02:00
Kaveh Vahedipour 153610c76f corrected ttl for accepting integer seconds :) 2016-03-31 09:08:18 +02:00
Kaveh Vahedipour f8e49bd208 updating state to AQL 2016-03-30 15:59:13 +02:00
Kaveh Vahedipour d09986ca4b updating state to AQL 2016-03-30 13:42:29 +02:00
Kaveh Vahedipour ee97eb769b updating state to AQL 2016-03-30 13:20:19 +02:00
Kaveh Vahedipour 173a6010b5 VisualStudio warnings 2016-03-29 13:01:23 +02:00
Kaveh Vahedipour afad06d1d0 updating tests 2016-03-24 17:54:02 +01:00
Kaveh Vahedipour aaf7e829fb nasty bug in state. erradic behaviour on removing conflicting entries in state machine. 2016-03-24 16:43:11 +01:00
Kaveh Vahedipour 5f8bd3d720 address sanitizer bitching about non-initialised boolean 2016-03-24 15:37:26 +01:00
Kaveh Vahedipour 1bdfe53ec2 Agency write sensitive to X-ArangoDB-Agency-Mode 2016-03-24 14:14:33 +01:00
Kaveh Vahedipour c1a5b56061 Fixing VS 2015 warnings and errors 2016-03-24 10:38:50 +01:00
Kaveh Vahedipour 599abfb415 repaired redirection in public agency api 2016-03-23 17:19:46 +01:00
Kaveh Vahedipour 342ca3e383 merging into devel 2016-03-23 10:05:14 +01:00
Kaveh Vahedipour e3cc35ccf6 pulling into devel 2016-03-23 08:43:06 +01:00
Kaveh Vahedipour 7f76eb64cb first really usable multi-host agency 2016-03-22 13:34:19 +01:00
Kaveh Vahedipour 4a86d26f19 need to find out how to define the headers properly 2016-03-21 18:23:14 +01:00
Kaveh Vahedipour 41d804d765 need to find out how to define the headers properly 2016-03-21 08:14:58 +01:00
Kaveh Vahedipour eb71e96e0c minor minor 2016-03-18 11:03:13 +01:00
Kaveh Vahedipour 0051c9d3d4 we have ttl 2016-03-17 21:04:12 +01:00
Kaveh Vahedipour 3b59217c21 merging from devel 2016-03-10 17:37:37 +01:00
Kaveh Vahedipour 3d066d2f03 Store intestinals into cpp file. Write to db ok. 2016-03-09 12:29:01 +01:00
Kaveh Vahedipour 3a239fe1d5 Store intestinals into cpp file. Write to db ok. 2016-03-09 09:58:43 +01:00
Kaveh Vahedipour 1cb51b022a merging from devel 2016-03-07 17:38:34 +01:00
Kaveh Vahedipour 702a510f9e State::save, Store::apply, Store::read 2016-03-07 17:12:07 +01:00
Kaveh Vahedipour 8ba74610f9 State::save, Store::apply, Store::read 2016-03-07 11:15:53 +01:00
Kaveh Vahedipour ee11ff13f6 log & persist 2016-03-04 18:13:17 +01:00
Kaveh Vahedipour 9f71872116 notifyall 2016-03-03 18:50:19 +01:00
Kaveh Vahedipour 2046a704e0 notifyall 2016-03-03 14:24:23 +01:00
Kaveh Vahedipour b020fc0a23 builds with new store 2016-03-03 08:16:48 +01:00
Kaveh Vahedipour 5f8a42fc8e builds with new store 2016-03-03 03:59:39 +01:00
Kaveh Vahedipour fa66ba2ffc compiles again 2016-03-01 16:45:34 +01:00
Kaveh Vahedipour 316f0cabfa found typo in definition 2016-03-01 12:23:34 +01:00
Kaveh Vahedipour 447223a864 property_map 2016-03-01 09:12:19 +01:00
Kaveh Vahedipour 4435236e91 property_map 2016-03-01 08:52:20 +01:00
Kaveh Vahedipour 4860dac5fa Moving callbacks out of Agent into new class AgentCallbacks 2016-02-29 15:09:03 +01:00
Kaveh Vahedipour 638eda15ed agency on 2016-02-29 09:49:23 +01:00
Kaveh Vahedipour 98ebbb5b40 agency on 2016-02-29 09:01:09 +01:00
Kaveh Vahedipour 0ac54c3300 agency on 2016-02-26 17:44:14 +01:00
Kaveh Vahedipour 84e5c306d4 agency on 2016-02-26 08:29:01 +01:00
Kaveh Vahedipour eda8260f37 agency on 2016-02-25 15:06:39 +01:00
Kaveh Vahedipour 86be0136ec agency on 2016-02-24 18:26:32 +01:00
Kaveh Vahedipour 1de36c5ba7 agency on 2016-02-23 16:54:00 +01:00
Kaveh Vahedipour 77c9580344 agency needs some reworking 2016-02-22 16:53:02 +01:00
Kaveh Vahedipour 1f9414f3ea Agencing on 2016-02-19 18:58:53 +01:00
Kaveh Vahedipour b639d79f17 Agency on 2016-02-19 11:51:39 +01:00
Kaveh Vahedipour c2069d4b15 Election call in arango agency 2016-02-04 09:29:47 +01:00
Kaveh Vahedipour ab1fb97552 Agency in arangod 2016-02-01 13:01:51 +01:00
Kaveh Vahedipour a8af99aca5 Agency is attached to application. Vote reception runnin.g 2016-01-27 18:35:41 +01:00
Kaveh Vahedipour b89cf5a8e6 Agency in arangod 2016-01-27 15:04:57 +01:00
Kaveh Vahedipour 08710aa2df Adding agency rest handler 2016-01-27 14:32:20 +01:00
Kaveh Vahedipour dc5cfeccd9 Staring implementation of the agency 2016-01-27 11:33:21 +01:00