1
0
Fork 0
Commit Graph

113 Commits

Author SHA1 Message Date
Kaveh Vahedipour 507418d9a4 stop supervision on demand (#5109)
* stop supervision on demand
* adding tests
* Correct an error message.
2018-04-20 11:58:47 +02:00
Simon e96e899fd3 Active Failover for Foxx Services (3.3) (#4593) 2018-02-15 09:36:25 +01:00
Heiko a16fd972eb optimized shard distribution api and ui (#4312) 2018-01-16 20:54:07 +01:00
Andreas Streichardt 5071a77340 Fix jslint 2017-11-21 11:36:25 +01:00
Andreas Streichardt 810ca8a9ef Fix removal of nodes 2017-11-20 17:13:37 +01:00
Michael Hackstein 5c633f9fae Bug fix/speedup shard distribution (#3645)
* Added a more sophisticated test for shardDistribution format

* Updated shard distribution test to use request instead of download

* Added a cxx reporter for the shard distribuation. WIP

* Added some virtual functions/classes for Mocking

* Added a unittest for the new CXX ShardDistribution Reporter.

* The ShardDsitributionReporter now reports Plan and Current correctly. However it does not dare to find a good total/current value and just returns a default. Hence these tests are still red

* Shard distribution now uses the cxx variant

* The ShardDistribution reporter now tries to execute count on the shards

* Updated changelog

* Added error case tests. If the servers time out the mechanism will stop bothering after two seconds and just report default values.
2017-11-10 15:17:08 +01:00
Jan 7613bc4314 Bug fix/fixes 0211 (#3568)
* remove some non-unused V8 persistents

* do not throw that many bogus assertions

* do not rely on server role being defined

* slightly better debug output for V8 context debugging

* fix collection ids in inventory response

* simplify bootstrap a bit

* slightly better error handling

* make elapsed time a queryable value

* use less memory for stub collections

* added assertions that will always make sense

* added assertions

* do not garbage-collect while waiting

* less copying of parameters

* do not show "load indexes into memory" buttons for mmfiles engine

  as all indexes are in memory anyway

* when a collection is truncated via the web interface, flush the WAL and rotate all active journals

this will make close all open journals on leader and followers and make them subject to compaction opportunities

* fix invalid server id values being passed from web interface to backend

* introduce afterTruncate method for indexes

* added test case for issue #3447

* updated CHANGELOG

* don't warn about replicationFactor for system collections

* check that the queries actually use the geo index and not some other index

* properly report error in web interface

* fix some internals checks that made truncate fail for bigger collections in maintainer mode

* also run a compact() operation after a serious truncate

in order to make iteration over the truncated range much faster
when the collection is next accessed

* increase default maximum number of V8 contexts to at least 16
2017-11-09 12:48:15 +01:00
Jan 53ea1ba560 remove dead apis (#3574) 2017-11-03 14:44:21 +01:00
Simon Grätzer 7c31960cf2 Feature/async failover (#3451) 2017-10-18 23:59:29 +02:00
Heiko a03a86fe46 fixed wrong selection of the database inside the internal cluster js api (#3202) 2017-09-13 17:19:18 +02:00
Kaveh Vahedipour 627f344266 fixed a bug, where when servers failed, when also agency leadership c… (#3189)
* fixed a bug, where when servers failed, when also agency leadership changes

* redid entire design of checkDBServers/checkCoordinators.

* comparison in supervision must be between oldPersisted and newHealth

* UI stuff

* UI stuff

* FailedServer test needed adjustment

* Hopefully final round

* fixed supervision failure detection

* FailedServer tests back to origin devel

* oldNot documented among preconditions in Agency HTTP API docs

* changed only look for status updated

* non action line in api-cluster
2017-09-07 16:10:23 +02:00
Kaveh Vahedipour 9cad75e4e8 Feature/cluster id and extended health (#3073)
* added unique id to cluster, added access to Health

* added agents to health api

* added agents to health api

* added agents to health api

* transaction information for api

* agents listed like other servers

* missing line through merge conflict

* fixed git merge glitch
2017-08-18 11:36:53 +02:00
Kaveh Vahedipour 1d1e0f5a50 Feature/cluster id and extended health (#3046)
* added unique id to cluster, added access to Health

* added agents to health api

* added agents to health api

* added agents to health api

* transaction information for api

* agents listed like other servers

* missing line through merge conflict
2017-08-18 11:13:23 +02:00
Kaveh Vahedipour 231a360b3b fixes for secondaries 2017-07-11 14:05:51 +02:00
Andreas Streichardt 7f8ff26f41 Fix jslint 2017-05-11 15:34:56 +02:00
Andreas Streichardt 9ec902ace8 Allow removing dbnodes 2017-05-11 15:18:29 +02:00
hkernbach d7bfe4dfc7 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2017-05-10 14:26:45 +02:00
hkernbach 38a3bab42e added api cluster api routes 2017-05-10 14:26:26 +02:00
Andreas Streichardt 23911d66d0 Finally fix the error where suddenly an array of dbservers are being called 2017-05-10 12:10:09 +02:00
Max Neunhoeffer bf2e5f30ca Port 3.1 fixes to devel, shortName translation. 2017-04-26 10:02:14 +02:00
Max Neunhoeffer c8a205b1aa New /_api/cluster/endpoints.
Also fix documentation (and deprecate) /_api/endpoint.
2017-03-15 13:33:50 +01:00
Andreas Streichardt e345415879 Allow removing dbservers which are no longer in use 2017-02-13 17:23:39 +01:00
Andreas Streichardt 1b92c8e46b Allow removing dbservers 2017-02-13 17:23:39 +01:00
jsteemann 5a1fe3a341 jslint 2017-02-13 14:35:14 +01:00
Andreas Streichardt 1bb8f97773 Fix secondaries 2017-02-13 14:00:19 +01:00
Andreas Streichardt cf39ddd39a Fix jslint 2017-02-10 19:43:04 +01:00
Andreas Streichardt bc1df86ddd remove lock queries 2017-02-10 19:34:29 +01:00
Andreas Streichardt f1da0c54f6 jslint 2017-02-08 15:07:47 +01:00
Andreas Streichardt edd27e7eff more remove checks 2017-02-08 15:07:47 +01:00
Andreas Streichardt ad1c7e7c13 oh jslint 2017-02-08 10:49:36 +01:00
Andreas Streichardt 2e3026db91 Make it possible to remove failed coordinators 2017-02-08 10:26:13 +01:00
hkernbach 4ae274fbd3 fixed cluster parsing issue when node information is not available 2017-01-10 17:07:51 +01:00
Andreas Streichardt 975e7a65b2 Fix cluster internal requests in authentication enabled cluster 2017-01-05 16:20:15 +01:00
Kaveh Vahedipour 805f894368 fixed faulty output when primary db server from changeSecondary api could not be found 2016-11-30 11:27:54 +01:00
Andreas Streichardt 2abc46f3e6 fix shardview...no more endless loops during shard rebalancing...also
fix error management when trying to reach dbservers
2016-11-21 17:47:06 +01:00
jsteemann aa5bd85b4f fix log message 2016-11-21 14:06:10 +01:00
jsteemann 63f0b53db5 removed useless log message 2016-11-21 14:04:16 +01:00
hkernbach 23e15889c7 fixed shardDistribution info route 2016-10-25 13:40:28 +02:00
Kaveh Vahedipour 72bf15c118 Fixed moveShard to do distributeShardsLike in start instead of create 2016-10-06 15:32:41 +02:00
Kaveh Vahedipour ce8c1a0cac revisiting all supervision jobs 2016-10-05 17:16:02 +02:00
Kaveh Vahedipour 595fc9b84e moveShard with distributeShardsLike 2016-10-04 11:41:26 +02:00
hkernbach c471f643a4 added functionality to see the movement status of a shard 2016-09-28 15:52:11 +02:00
Andreas Streichardt 46817601e4 Remove obsolete actions (cluster 3.0 made them obsolete) 2016-07-28 18:46:37 +02:00
Andreas Streichardt 72fbc21031 Fix semistandard problems 2016-06-29 19:59:37 +02:00
Andreas Streichardt 10b4b7bcf0 testbed for reformatting 2016-06-29 19:47:18 +02:00
Max Neunhoeffer 79025546f7 Improve moveShard tests and testing infrastructure. 2016-06-13 23:28:32 +02:00
Max Neunhoeffer 0040105e80 Finish transformation to three digit numbers in server IDs. 2016-06-13 14:37:15 +02:00
Max Neunhoeffer b348514d36 Make /Target/CleanedServers writable. 2016-06-13 11:43:12 +02:00
Max Neunhoeffer 3a8412090d rebalanceShards. 2016-06-10 14:41:46 +02:00
Max Neunhoeffer 059b24d7e7 Start work on rebalancing of shards. 2016-06-10 00:13:42 +02:00