1
0
Fork 0
Commit Graph

393 Commits

Author SHA1 Message Date
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