1
0
Fork 0
Commit Graph

600 Commits

Author SHA1 Message Date
Kaveh Vahedipour 770d8777a2 raft testing revealed performance optimisation in receiver and of appendentries 2016-08-05 12:47:08 +02:00
Kaveh Vahedipour c586b63f03 raft testing revealed performance optimisation in receiver and of appendentries 2016-08-05 12:36:23 +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 9484cddd0c compaction bug in agency 2016-08-03 14:13:38 +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 8f07f97fb4 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-02 15:00:35 +02:00
Kaveh Vahedipour 5c0c95f618 fixed compaction bug in RAFT 2016-08-02 13:55:53 +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 3a1e10eecb integrated agency bugfix from 3.0 2016-08-01 14:41:13 +00:00
Kaveh Vahedipour da893cc056 integrated agency bugfix from 3.0 2016-08-01 13:46:52 +00: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 b3bdd3a66a more refactoring 2016-07-28 11:47:20 +02:00
jsteemann 31407c3561 refactoring 2016-07-27 17:15:52 +02:00
jsteemann b54f0a15d8 removed last occurrence of TRI_vector_t in arangod 2016-07-26 08:04:30 +02:00
jsteemann 2aa2e0dab4 removed server.h 2016-07-25 16:49:52 +02:00
jsteemann a0f0055b6f moved all database management functions into DatabaseFeature 2016-07-25 15:48:37 +02:00
jsteemann 2b4c3707e3 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-07-20 13:22:29 +02:00
jsteemann 8cf7fc889d renamed method 2016-07-18 18:07:11 +02:00
Jan Christoph Uhde beae8a8f74 first changes for set/get payload methods ->
toVelocyPack now returns slices
2016-07-15 16:38:13 +02:00
Jan Christoph Uhde ff49d7b0b4 Merge remote-tracking branch 'origin/devel' into obi-merge-restserver-next
* origin/devel: (105 commits)
  Fixed failure tests in SkiplistIndex
  Fixed a bug with reset of new skiplist index iterator
  whitespace removal
  micro optimization for key generator key tracking
  GraphQL! Hype! 🎉
  explicit
  remove unused variable
  explicit
  Fix VS complaints
  complaints
  complaints
  updated CHANGELOG
  fixed issue #1937
  Modified the SkiplistIndex lookup s.t. it does not build one large VPackBuilder containing all combinations of search values, but instead has an option to rewrite it in-place and just has to maintain the intervals.
  ignore revision ids
  fix destructuring of Externals in MERGE
  make it code.
  ignore primary and edge indexes during cluster restore
  grunt build [ci skip]
  semist.
  ...
2016-07-13 07:33:13 +00:00
Jan Steemann d9aa695cea complaints 2016-07-12 15:36:47 +01:00
Jan Christoph Uhde b2e29c4353 fix: createResponse -> setResponseCode; remove delete
remove delete _response in RestEdgesHandler
2016-07-07 08:54:41 +00:00
Jan Steemann 617a833040 handle "isSystem" somewhat smarter 2016-07-06 10:23:37 +02:00
Frank Celler d5bb7687f3 removed unecessary prefix 2016-07-04 17:44:35 +02:00
Frank Celler 38a55ed13c Merge branch 'devel' of github.com:arangodb/arangodb into FMH 2016-07-04 17:09:40 +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 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 e922909d6d empty arrays handled wrong 2016-06-29 15:39:51 +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
Jan Steemann eea20e5fa2 fix VS warnings 2016-06-28 17:23:49 +02:00
Kaveh Vahedipour 516127aeb2 checking and documenting 2016-06-28 14:39:17 +02:00
Kaveh Vahedipour ff0fed4d37 some additional checking of vector bounds and assertions 2016-06-28 11:02:10 +02:00
Kaveh Vahedipour 363556bbf6 some additional checking of vector bounds and assertions 2016-06-28 11:01:50 +02:00
Kaveh Vahedipour 2152566d29 some additional checking of vector bounds and assertions 2016-06-28 11:00:36 +02:00
Kaveh Vahedipour 811275889f too ambitious minimum election time in agency for wait-for-sync 2016-06-28 10:45:13 +02:00
Kaveh Vahedipour e06a5bc70f some additional checking of vector bounds and assertions 2016-06-28 09:26:33 +02:00
Kaveh Vahedipour 2f4fcba0c8 supervision missed a leadership change while getting unique ids 2016-06-27 17:11:18 +02:00
Kaveh Vahedipour e6ccc76d36 bogus matching entries warnings 2016-06-27 13:42:54 +02:00
Kaveh Vahedipour 5326e35b3b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-27 13:37:11 +02:00
Kaveh Vahedipour 58e1b8fe0d agency will hold back responses until such time that leader has been elected 2016-06-27 13:37:04 +02:00
Max Neunhoeffer c1ea48b699 Fix a deadlock in the Constituent. 2016-06-27 13:35:11 +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 bbade806c3 more agency tests 2016-06-24 15:36:57 +02:00
Kaveh Vahedipour a54c66ea2f vectorized arrays in key-value-store 2016-06-24 12:17:40 +02:00
Kaveh Vahedipour 0a7decc303 this is the end of CommLock as we know it ... 2016-06-24 10:48:10 +02:00
Kaveh Vahedipour 761b16e407 added 'in'-check for agency precondition 2016-06-23 17:17:03 +02:00
Kaveh Vahedipour f510275562 added 'in'-check for agency precondition 2016-06-23 15:50:58 +02:00
Kaveh Vahedipour d125d21912 added 'in'-check for agency precondition 2016-06-23 15:49:06 +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 48832c2d52 fix agency test error 2016-06-22 10:14:00 +02:00
Kaveh Vahedipour dcc2b257e3 fix agency test error 2016-06-22 10:02:30 +02:00
Jan Steemann 6b23e9fee9 next attempt 2016-06-21 09:58:16 +02:00
Jan Steemann f362dc5e21 attempt to fix Visual Studio complaints 2016-06-21 09:52:42 +02:00
Kaveh Vahedipour 7f326d362a vs compilation problems 2016-06-20 15:02:14 +02:00
Kaveh Vahedipour 6e13e454f1 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-20 10:24:57 +02:00
Kaveh Vahedipour b22b826862 documenting code mode 2016-06-20 10:13:00 +02:00
Max Neunhoeffer 66e24b2093 Use old version of Plan when building the new version. 2016-06-17 11:55:12 -07:00
Kaveh Vahedipour 844a6430be Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-16 15:33:10 +02:00
Kaveh Vahedipour 1578d0df13 adding IN operator to kv-store 2016-06-16 15:33:03 +02:00
jsteemann f21561b25f use nullptr, don't include Thread.h when unnecessary 2016-06-15 19:21:53 +02:00
Kaveh Vahedipour 9ea023acb1 store documentation 2016-06-15 16:08:17 +02:00
Kaveh Vahedipour 132788a205 agency raft voting logging demoted from INFO to DEBUG 2016-06-15 14:38:52 +02:00
Kaveh Vahedipour 7bb896be3a moveshard looks if toserver already in list else failes 2016-06-15 14:19:15 +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 0f66a110de fixed max_elements bug in job transactions 2016-06-14 17:13:52 +02:00
Kaveh Vahedipour 1b77bc7a83 ageny tests 2016-06-14 16:39:07 +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 3f0b5c1a36 minor optimisations 2016-06-14 12:20:22 +02:00
Kaveh Vahedipour 658a2a8f3d clean up code, document 2016-06-14 12:00:34 +02:00
Kaveh Vahedipour df93c72bd0 optimised key-value store for speed and readability 2016-06-13 19:32:50 +02:00
Kaveh Vahedipour d130743a73 shrinkCluster tests 2016-06-13 15:15:10 +02:00
Kaveh Vahedipour cf338d0158 shrinkCluster tests 2016-06-13 14:45:29 +02:00
jsteemann f09b91813d pacify Visual Studio 2016-06-13 13:16:35 +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 2e866c4067 we can shrink cluster 2016-06-10 18:20:37 +02:00
Kaveh Vahedipour beba4887a3 shrink cluster in supervision 2016-06-10 18:10:37 +02:00
Kaveh Vahedipour 988b4401f2 machine ids in cluster zero-filled to up to 1000 machines 2016-06-10 15:57:12 +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 664a4745eb moveshard good 2016-06-09 18:25:29 +02:00
Max Neunhoeffer eaa5d3c9a8 Prevent division by zero. 2016-06-09 16:23:49 +02:00
Max Neunhoeffer e7fe62bbf8 Add reporting to /Target/CleanedServers. 2016-06-09 16:19:24 +02:00
Kaveh Vahedipour 70f7a2a9d3 agency shutdown problems 2016-06-09 14:08:11 +00:00
Kaveh Vahedipour 8deaee2bd6 agency shutdown problems 2016-06-09 14:06:25 +00:00
Kaveh Vahedipour 2ae47d302b moveshard working 2016-06-09 13:54:11 +02:00
Kaveh Vahedipour c85281b06b waitForCommit is new default behaviour of writes in agency 2016-06-09 13:38:56 +02:00
Kaveh Vahedipour a13de0044e waitForCommit is new default behaviour of writes in agency 2016-06-09 13:36:17 +02:00
Kaveh Vahedipour 09535492d6 waitForCommit is new default behaviour of writes in agency 2016-06-09 13:14:19 +02:00
Max Neunhoeffer a7cb6b6830 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-09 12:04:18 +02:00
Max Neunhoeffer 136336e9d8 Fixed a typo. 2016-06-09 12:02:28 +02:00
Kaveh Vahedipour e6ec1864c5 move-shard slightly changed order of actions 2016-06-09 12:01:44 +02:00
Kaveh Vahedipour e806beca57 move-shard slightly changed order of actions 2016-06-09 11:03:37 +02:00
Kaveh Vahedipour 2dd131b500 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-09 11:02:57 +02:00
Kaveh Vahedipour e053742f45 move-shard slightly changed order of actions 2016-06-09 11:02:51 +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
Kaveh Vahedipour fcc9a86534 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-09 09:05:20 +02:00
Kaveh Vahedipour 86bc29f61e Added standalone agency script 2016-06-09 09:05:13 +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
jsteemann 7b5d632030 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-08 10:18:17 +02:00
Kaveh Vahedipour 4ffa0c6e69 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-08 10:16:06 +02:00
Kaveh Vahedipour 680412166d plan version increments added to status 2016-06-08 10:15:56 +02:00
Max Neunhoeffer 659a06765d Let a follower unfollow a leader. 2016-06-08 10:00:19 +02:00
jsteemann 96686b88cf don't copy 2016-06-07 23:08:43 +02:00
Kaveh Vahedipour 9134933158 multi-host agency tests startup ok 2016-06-07 19:01:23 +02:00
Kaveh Vahedipour 2b0aea5c46 green tests in agencySize 3 2016-06-07 18:58:16 +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 49c1435d9c multi-host agency tests startup ok 2016-06-07 15:36:33 +02:00
Kaveh Vahedipour 6cf7caad7c Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-07 12:31:45 +02:00
Frank Celler 80d3164622 state after compaction reload with no logs 2016-06-07 09:32:47 +00:00
Andreas Streichardt 50ea64a5fb Change agency id to be 0 by default in --help 2016-06-07 10:19:57 +02:00
Kaveh Vahedipour 02b20689f3 need to repair multi-host agency 2016-06-07 09:04:39 +02:00
Frank Celler 69e254d28a trying to fix cleanup 2016-06-06 23:53:53 +02:00
Kaveh Vahedipour 3090710b31 bug in subjobs iteration 2016-06-06 17:08:22 +02:00
Kaveh Vahedipour 5c94734fe1 finished moveshard 2016-06-06 16:01:48 +02:00
Kaveh Vahedipour a2af8e1176 move shards are planned correctly 2016-06-06 15:04:10 +02: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
Kaveh Vahedipour 3386c6d371 abolished const ref members in supervision jobs 2016-06-06 09:34:59 +02:00
Kaveh Vahedipour a496d6bea8 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-06 09:30:42 +02:00
Kaveh Vahedipour 912e5c9488 abolished const ref members in supervision jobs 2016-06-06 09:30:36 +02: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
Jan Steemann b69b9948f7 fixed Visual Studio warnings 2016-06-03 16:33:15 +02:00