aboutsummaryrefslogtreecommitdiffstats
path: root/clustercontroller-core/src/test/java
Commit message (Collapse)AuthorAgeFilesLines
* Update copyrightJon Bratseth2023-10-0981-80/+82
|
* Consolidate hamcrest usage to 2.x and remove cthul-matchersBjørn Christian Seime2023-08-299-18/+1
|
* Add content cluster name to generated feed block messageTor Brede Vekterli2023-07-262-28/+30
| | | | | | | | | | | Messages now prefixed with content cluster name to help disambiguate which cluster is exceeding its limits in multi-cluster deployments. Example message: ``` in content cluster 'my-cool-cluster': disk on node 1 [my-node-1.example.com] is 81.0% full (the configured limit is 80.0%). See https://docs.vespa.ai/en/operations/feed-block.html ```
* Make generated automatic feed block error messages more user-friendlyTor Brede Vekterli2023-07-263-34/+49
| | | | | | | | | | | | | | | | | | Messages are generated centrally by the cluster controller and pushed to content nodes as part of a cluster state bundle; the distributors nodes merely repeat back what they have been told. This changes the cluster controller feed block error message code to be less ambiguous and to include a URL to our public documentation about feed blocks. Example of _old_ message: ``` disk on node 1 [storage.1.local] (0.510 > 0.500) ``` Same feed block with _new_ message: ``` disk on node 1 [storage.1.local] is 51.0% full (the configured limit is 50.0%). See https://docs.vespa.ai/en/operations/feed-block.html ```
* Check min replication seen from all distributors that are UPHarald Musum2023-07-171-1/+1
| | | | | This means we will also check distributors that are on same node as a retired storage node
* Fix minor issues after code reviewsHarald Musum2023-07-171-2/+0
|
* Check redundancy also for groups that are upHarald Musum2023-07-161-18/+27
| | | | | | | When we allow several groups to go down for maintenance we should check nodes in the groups that are up if they have the required redundancy. They might be up but have not yet synced all buckets after coming up. We want to wait with allowing more nodes to be taken down until that is done.
* Renames and minor refactorings, no funcational changesHarald Musum2023-07-092-109/+109
|
* SimplifyHarald Musum2023-07-051-1/+1
|
* Minor refactoring and start of some new testHarald Musum2023-07-051-11/+32
|
* Move fetchStatusPageHarald Musum2023-06-191-0/+30
|
* ModernizeHarald Musum2023-06-071-3/+4
|
* Require non-null MetricUpdaterHarald Musum2023-06-052-16/+7
|
* Add back some testing of getMaster()Harald Musum2023-06-051-0/+60
|
* Remove support for RPC method getMaster, only used in testsHarald Musum2023-06-052-135/+1
|
* Simplify and remove some test methodsHarald Musum2023-06-015-25/+16
|
* ZooKeeper is always used, simplifyHarald Musum2023-06-013-35/+9
|
* Require non-null zooKeeperServerAddress in FleetControllerOptionsHarald Musum2023-06-014-125/+134
|
* Copy options when reconfiguringHarald Musum2023-06-011-20/+10
|
* Require distribution to be non-null and fix testsHarald Musum2023-05-261-0/+1
|
* Remove RPC method only used in testsHarald Musum2023-05-261-44/+1
|
* Simplify and minor cleanupHarald Musum2023-05-151-125/+133
|
* Avoid duplicating codeHarald Musum2023-05-133-23/+21
|
* Set waiter in createFleetControllerHarald Musum2023-05-131-4/+4
|
* Create slobrok in constructor and simplify setupHarald Musum2023-05-1211-50/+45
|
* Inject timer from test classes instead of inheritingHarald Musum2023-05-1213-124/+152
|
* Move methodHarald Musum2023-05-122-10/+11
|
* Fix exception messageHarald Musum2023-05-121-1/+1
|
* Remove testname and logging related to starting and stoppingHarald Musum2023-05-1210-59/+7
| | | | Not used, reintroduce using junit TestInfo class if needed
* Remove advanceTime callHarald Musum2023-05-121-1/+0
| | | | | | | The timer used in fleetcontroller in these tests (except one in a disabled test) are instances of RealTimer, whereas the one used in this call is a FakeTimer from the superclass, so this call makes no sense IMHO.
* Minor cleanupHarald Musum2023-05-0814-40/+20
| | | | GC dead code, optimize imports, fix unnecessary throws statements
* Implement toString for implementations of UnitStateHarald Musum2023-04-201-0/+3
|
* FIx retiredOrNotUpGroups()Harald Musum2023-04-181-1/+1
|
* Handle case where a node has another description for wanted stateHarald Musum2023-04-181-11/+24
| | | | Also add group indexes for disallow messages where relevant
* Check state down later and simplifyHarald Musum2023-04-171-5/+28
|
* Parameterize testsHarald Musum2023-04-141-109/+140
|
* Merge branch 'master' into hmusum/allow-groups-to-be-downHarald Musum2023-04-141-1/+1
|\
| * Restore isControlledShutdown and simplify tests a bitHarald Musum2023-04-131-9/+25
| |
| * Fix bug in distributuon config generationHarald Musum2023-04-131-1/+2
| |
* | Reimplement checking of other nodes and nodes in groups being not upHarald Musum2023-04-121-3/+3
| |
* | Restore isControlledShutdown and simplify tests a bitHarald Musum2023-04-101-13/+14
| |
* | Allow more than 1 group in a content to be down at the same timeHarald Musum2023-03-301-11/+132
| | | | | | | | | | Based on config, all functional changes guarded by config field max_number_of_groups_allowed_to_be_down in fleetcontroller config
* | Fix bug in distributuon config generationHarald Musum2023-03-301-1/+2
|/
* MInor changes after code reviewHarald Musum2023-03-291-6/+5
|
* Simplify NodeStateChangeChecker constructorHarald Musum2023-03-292-13/+9
|
* Simplify now that we can create HierarchicalGroupVisiting in constructorHarald Musum2023-03-291-14/+5
|
* Use correct redundancy and don't set active_per_leaf_groupHarald Musum2023-03-291-4/+3
|
* Make sure to make correct config for flat clusters (1 group)Harald Musum2023-03-291-3/+23
|
* Create real distribution config for all testsHarald Musum2023-03-291-52/+50
|
* Merge pull request #26606 from ↵Harald Musum2023-03-283-14/+12
|\ | | | | | | | | vespa-engine/hmusum/add-config-for-max-number-of-groups-allowed-to-be-down Add config for max number of content groups allowed to be down