1
0
Fork 0
Commit Graph

237 Commits

Author SHA1 Message Date
Kaveh Vahedipour 12e54902df agency's supervision must wait grace period after becoming leader before acting on db server failure 2016-12-21 11:17:41 +01:00
Max Neunhoeffer 985ccaeb70 Get rid of Supervision::wakeUp(). 2016-12-20 10:19:24 +01:00
Kaveh Vahedipour 0e29e93816 race condition in agency when leader impaired 2016-12-19 15:00:32 +01:00
jsteemann 350da367bd fixes for Visual Studio 2016-12-08 17:32:46 +01:00
Kaveh Vahedipour 62c3240f8d Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-12-08 15:12:11 +01:00
Kaveh Vahedipour c6ef45b64d AddFollower to handle multiple followers at the same time 2016-12-08 15:12:05 +01:00
Andreas Streichardt 76c0789e3c Distribute satellites across cluster 2016-12-08 15:11:22 +01:00
Kaveh Vahedipour 2fadea8332 AddFollower tests 2016-12-07 16:42:35 +01:00
Kaveh Vahedipour b930b23fc2 AddFollower jobs for newly arrived db server to satisfy replication factors 2016-12-07 16:20:47 +01:00
Andreas Streichardt 0c97df2527 Fix compilation 2016-12-06 17:20:28 +01:00
Kaveh Vahedipour 51b279346b redirects to myelf should be hinstory 2016-12-06 17:10:15 +01:00
Kaveh Vahedipour 77c8c51865 FailedFollower and Windows build problmes 2016-11-30 15:39:10 +01:00
Kaveh Vahedipour 4a95e82fa6 ShortName for servers in new ugly UUID world 2016-11-25 15:25:51 +01:00
Kaveh Vahedipour ffe7f9f3ad merged in devel 2016-11-16 14:59:53 +01:00
Kaveh Vahedipour 9a6f605f2f fixed small double / long conversion 2016-10-31 17:00:55 +01:00
Kaveh Vahedipour 0e15a305d2 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-10-31 10:01:33 +01:00
Kaveh Vahedipour cc8270a897 Proposal for auto adaption of agency's RAFT timings 2016-10-31 10:01:26 +01:00
jsteemann cfc9ecd198 fix Visual Studio complaints 2016-10-31 09:59:18 +01: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
Frank Celler e4ba82e8e9 rewrite of AgencyComm 2016-10-23 00:46:30 +02:00
Max Neunhoeffer 3a76784af4 Protect memory accesses to _snapshot in Supervision. 2016-10-12 10:23:21 +00:00
Kaveh Vahedipour cf09546d93 fixed erroneous break of supervision agency updates 2016-10-07 11:01:45 +02:00
Kaveh Vahedipour 0d82614fcc fixed erroneous break of supervision agency updates 2016-10-07 09:19:29 +02:00
Kaveh Vahedipour 1f4abf3c36 upgrade 3.0 agency to 3.1 2016-10-06 17:04:29 +02:00
Kaveh Vahedipour cc0a4ffbaa supervision grace period introduced as command line argument. reappeared db servers are removed from failedServers 2016-09-26 16:00:07 +02:00
jsteemann 34f7e27d6c Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types 2016-09-08 09:27:53 +02:00
Frank Celler e394653cae silenced cppcheck warning 2016-09-08 08:43:22 +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
Andreas Streichardt ee0312e65a Fix double lock during shutdown 2016-09-07 09:45:57 +02:00
jsteemann 8a4b51cb92 fixed compile error 2016-09-07 08:53:35 +02:00
jsteemann f5a595f464 Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types 2016-09-07 08:52:07 +02:00
Andreas Streichardt 6786049442 Fix exception 2016-09-06 17:13:26 +02:00
Andreas Streichardt 6396ac4dc7 Implement removeServer job 2016-09-06 16:49:25 +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 b1d645b841 We can handle dying dbservers during collection creation 2016-09-05 14:06:53 +02:00
jsteemann 4492409d5f Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types 2016-09-02 15:23:15 +02:00
Kaveh Vahedipour b3b7d7c907 failed servers are excluded from new shard creation 2016-09-02 12:37:53 +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
Kaveh Vahedipour c8178239e1 agency configuration persisted to state machine 2016-08-30 14:41:28 +02:00
jsteemann 07055384b8 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-24 17:34:59 +02:00
Andreas Streichardt 89ebeefbb9 Proper shutdown 2016-08-24 13:51:23 +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
Andreas Streichardt a9253c7ba5 Coorect agency path (no more / duplicates) 2016-08-23 14:03:41 +02:00
Andreas Streichardt 47a0f8602a Better shutdown handling 2016-08-23 12:51:38 +02:00
jsteemann c5f151da5c Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-19 11:01:15 +02:00
jsteemann d7b2141da0 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-18 16:22:00 +02:00
Kaveh Vahedipour aee9548308 Merge branch 'devel' of https://github.com/arangodb/arangodb into agency-startup 2016-08-18 15:55:51 +02:00
Kaveh Vahedipour 6edc1ff5fa AgentConfiguration needed to handle its own read/write locks 2016-08-18 15:54:42 +02:00
Andreas Streichardt e7dd194129 Wow...tried waiting for cluster members to shutdown...forgot to set bool flag...fail 2016-08-18 12:25:25 +02:00
jsteemann 53e567f28f Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-18 11:30:07 +02:00
Andreas Streichardt 03b9d97e2f Implement proper cluster shutdown 2016-08-18 11:23:23 +02:00
Andreas Streichardt 3f412debf0 Revert futile attempts to implement client resilience tests 2016-08-17 18:12:40 +02:00
Andreas Streichardt 70af1e3647 Implement proper cluster shutdown 2016-08-17 17:25:39 +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 7069fc0da0 raft testing revealed performance optimisation in receiver and of appendentries 2016-08-05 14:59:39 +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 97f5e957fa supervision not woken up after leadership change 2016-08-02 16:09:24 +02:00
jsteemann 80f1a7aaee Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-07-29 17:16:20 +02:00
Andreas Streichardt 526c8f42c2 Fix foxx issues in cluster
Bootstrap will now be done on the bootstrap coordinator.

queues will now be executed by the "foxxmaster"
2016-07-29 16:06:31 +02:00
jsteemann 2aa2e0dab4 removed server.h 2016-07-25 16:49:52 +02:00
Kaveh Vahedipour 4c8ae6e5c5 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-29 14:59:16 +02:00
Kaveh Vahedipour 1baf2050c6 waitForCommited bug in agency fixed 2016-06-29 14:54:05 +02:00
Jan Steemann 71c778e0bb Visual Studio 2016-06-29 09:53:42 +02:00
Kaveh Vahedipour 2f4fcba0c8 supervision missed a leadership change while getting unique ids 2016-06-27 17:11:18 +02:00
Kaveh Vahedipour 3f0b5c1a36 minor optimisations 2016-06-14 12:20:22 +02:00
Kaveh Vahedipour cf338d0158 shrinkCluster tests 2016-06-13 14:45:29 +02:00
Kaveh Vahedipour dfa2d31410 we can shrink cluster 2016-06-10 19:28:06 +02:00
Kaveh Vahedipour d60b58427f we can shrink cluster 2016-06-10 18:38:23 +02:00
Kaveh Vahedipour beba4887a3 shrink cluster in supervision 2016-06-10 18:10:37 +02:00
Kaveh Vahedipour d34752a1c4 removed dependence on excetion throwing for store to build results 2016-06-10 12:35:52 +02:00
Kaveh Vahedipour a13de0044e waitForCommit is new default behaviour of writes in agency 2016-06-09 13:36:17 +02:00
Kaveh Vahedipour e6ec1864c5 move-shard slightly changed order of actions 2016-06-09 12:01:44 +02:00
Max Neunhoeffer 5668e6e524 Agency changes. 2016-06-09 10:51:46 +02:00
Max Neunhoeffer 6cffcaa196 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-09 09:14:52 +02:00
Max Neunhoeffer 95ea7625cd Add endpoint and thus protocol to cluster health status. 2016-06-09 09:13:34 +02:00
Kaveh Vahedipour 51c6a734c4 Going back to const references for local snapshot views in supervision 2016-06-09 09:08:29 +02:00
Max Neunhoeffer f5290b93a7 Add roles to health status. 2016-06-09 08:39:15 +02:00
Kaveh Vahedipour 382ac052d4 resilience green 2016-06-08 18:27:59 +02:00
Max Neunhoeffer c1fc27c585 Agency bugfixes. 2016-06-08 14:59:13 +02:00
Kaveh Vahedipour e39c3dd118 multi-host agency clean shutdown 2016-06-07 16:55:50 +00:00
Kaveh Vahedipour 5dfa0c0adb abolished const ref members in supervision jobs 2016-06-06 10:28:07 +02:00
Kaveh Vahedipour 46553392ef abolished const ref members in supervision jobs 2016-06-06 09:40:11 +02:00
Jan Steemann b69b9948f7 fixed Visual Studio warnings 2016-06-03 16:33:15 +02:00
Kaveh Vahedipour 5da3d72758 supervision bug 2016-06-03 14:56:18 +02:00
Kaveh Vahedipour 00d6111a3e server health for aardvark 2016-06-03 14:27:04 +02:00
Kaveh Vahedipour 2ab638160e server health for aardvark 2016-06-03 13:44:50 +02:00
Kaveh Vahedipour 2821d3ab86 jslint error 2016-06-03 13:32:15 +02:00
Kaveh Vahedipour 427453bcc7 server health for aardvark 2016-06-03 12:19:39 +02:00
Kaveh Vahedipour 6f62f5baa3 checking before range loops for emptyness 2016-06-02 17:22:12 +02:00
Kaveh Vahedipour f56d36d168 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-02 12:17:40 +02:00
Kaveh Vahedipour 2e87f59218 Testing supervision 2016-06-02 12:17:35 +02:00
Kaveh Vahedipour e53bd53def Removed exception handling around run in supervision in expectation that all errors have been handled 2016-06-02 10:14:27 +02:00
Jan Steemann 192caed889 fix Visual Studio compile warnings 2016-06-01 17:09:43 +02:00
Kaveh Vahedipour 0b6a6788cc supervision was accessing read db after it had started shutting down. 2016-06-01 15:16:21 +02:00
Kaveh Vahedipour ac2fc7b8a0 hunting down invalid mutex in shutdown of agency 2016-06-01 12:51:56 +00:00
Max Neunhoeffer 7e44916426 Protect the whole Supervision thread by a try/catch block. 2016-05-31 18:20:05 -06:00
Max Neunhoeffer b600ddbeb4 Fix getUniqueIds and updateAgencyPrefix in Supervision.
This prevents some race conditions at cluster startup that crashed the
agency.
2016-05-31 12:38:17 -06:00
Kaveh Vahedipour 3db6984221 Moving Job classes out of Supervision 2016-05-31 16:45:00 +02:00
Kaveh Vahedipour 7b440f94dc Moving Job classes out of Supervision 2016-05-31 16:28:54 +02:00
Kaveh Vahedipour bad7a6a35a leader fail seems good 2016-05-31 15:21:42 +02:00
Kaveh Vahedipour fbbd82681f finish cleans up blocks 2016-05-30 15:18:45 +02:00
Kaveh Vahedipour 318a073068 finish cleans up blocks 2016-05-27 16:27:38 +02:00
Kaveh Vahedipour e3ee1b5b75 finished jobs. clean out server, failed leader, move shard 2016-05-25 17:52:28 +02:00
Kaveh Vahedipour 1846a3c4f7 finished jobs. clean out server, failed leader, move shard 2016-05-25 17:45:28 +02:00
Kaveh Vahedipour e50bed6f77 shard jobs remove 2016-05-24 18:19:13 +02:00
Kaveh Vahedipour 00d3587e9a Supervision moves shards 2016-05-24 15:57:08 +02:00
Kaveh Vahedipour 3d0ebeab13 Some surious warnings. 2016-05-23 17:34:52 +02:00
Kaveh Vahedipour 6110773fdb Redone job design in supervision to simpler interface. 2016-05-23 17:07:35 +02:00
Kaveh Vahedipour e3b78a8f6e supervising on 2016-05-19 16:59:08 +02:00
Kaveh Vahedipour 7a010902d9 more pedantic code check 2016-05-18 17:01:21 +02:00
Frank Celler 9646f736fb clang-format 2016-05-18 14:51:09 +00:00
Kaveh Vahedipour c51e92f449 asan problems with std::deque operator+ and element offset calcultion 2016-05-17 15:29:38 +02:00
Kaveh Vahedipour b3710f8e9f there is a problem dealing with LatestID 2016-05-14 23:01:33 +02:00
Kaveh Vahedipour 131feb514a stand-alone agency stops supervision if it fails to get unique-ids 2016-05-12 18:48:32 +02:00
Kaveh Vahedipour 3993e85e66 cluster supervision moves broken leaders 2016-05-12 16:18:09 +02:00
Kaveh Vahedipour 4efb6aac7f oops pushed conflict 2016-05-12 08:51:10 +02:00
Kaveh Vahedipour ed94cbbdcc cluster supervision moves broken leaders 2016-05-12 08:36:41 +02:00
Jan Steemann 7e16f1ffd9 pacify MSVC 2016-05-11 19:02:18 +02:00
Kaveh Vahedipour 5f8f8a628a cluster supervision moves broken leaders 2016-05-11 14:59:10 +02:00
Kaveh Vahedipour 6694179e57 cluster supervision moves broken leaders 2016-05-10 19:39:23 +02:00
Kaveh Vahedipour c144f78775 supervision has node in agency 2016-05-09 19:22:37 +02:00
Kaveh Vahedipour f2f5206e7d supervision has node in agency 2016-05-09 19:13:07 +02:00
Kaveh Vahedipour 37c0ec4f54 more complete verbose output on custercomm connections 2016-05-09 15:05:33 +02:00
Kaveh Vahedipour 8f51853720 moving agency compaction to c++ interface 2016-05-09 11:43:53 +02:00
Kaveh Vahedipour 0aaec5b783 moving agency compaction to c++ interface 2016-05-09 11:04:56 +02:00
Kaveh Vahedipour af7e490d2a wrong implementation of property collectionsetting through coordinator 2016-05-04 16:52:14 +02:00
Kaveh Vahedipour 9d8037b62b added /supervision/jobs to initial agency structure 2016-05-04 15:00:33 +02:00
Kaveh Vahedipour aaf49fcdf4 removing strigified json from agencycomm 2016-04-22 15:50:02 +02:00
Kaveh Vahedipour 87ee0c49d2 cppcheck warnings 2016-04-21 11:28:58 +02:00
Kaveh Vahedipour 87bc35068b FHM merge from devel 2016-04-19 09:59:33 +00:00
Kaveh Vahedipour 934b7ca107 cppcheck warnings 2016-04-19 08:40:56 +02:00
Kaveh Vahedipour 114b643d6e cluster startup and supervision 2016-04-18 16:13:30 +02:00