aboutsummaryrefslogtreecommitdiffstats
path: root/clustercontroller-core/src/test/java/com/yahoo/vespa/clustercontroller/core/restapiv2
Commit message (Collapse)AuthorAgeFilesLines
* jackson 2.16 changes some of its default settings so we consolidate our use ↵Henning Baldersheim2023-11-232-9/+9
| | | | | | of the ObjectMapper. Unless special options are used, use a common instance, or create via factory metod.
* Update copyrightJon Bratseth2023-10-0910-11/+11
|
* Renames and minor refactorings, no funcational changesHarald Musum2023-07-091-10/+10
|
* ModernizeHarald Musum2023-06-071-3/+4
|
* Move methodHarald Musum2023-05-121-4/+11
|
* Minor cleanupHarald Musum2023-05-081-1/+1
| | | | GC dead code, optimize imports, fix unnecessary throws statements
* Implement toString for implementations of UnitStateHarald Musum2023-04-201-0/+3
|
* Simplify NodeStateChangeChecker constructorHarald Musum2023-03-291-5/+5
|
* Merge pull request #26606 from ↵Harald Musum2023-03-281-1/+2
|\ | | | | | | | | 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
| * Add config for max number of content groups allowed to be downHarald Musum2023-03-281-1/+2
| |
* | Simplify and add todo about removing disk_distribution in Vespa 9Harald Musum2023-03-281-8/+1
|/
* Move test code to test classHarald Musum2023-03-261-2/+44
|
* Fix more testsjonmv2022-10-226-343/+436
|
* Replace jettison with jacksonjonmv2022-10-211-79/+83
|
* Remove unused and undocumented partition state request supportHarald Musum2022-09-073-85/+7
|
* Convert clustercontroller-core to junit5Bjørn Christian Seime2022-07-299-425/+414
|
* Trigger saveWantedState when nodes are removed or orphaned wanted states are ↵Håkon Hallingstad2022-04-202-10/+16
| | | | loaded
* GC use of deprecated junit assertThat and unifyHenning Baldersheim2021-12-211-0/+1
|
* Update Verizon Media copyright notices.gjoranv2021-10-075-5/+5
|
* Update 2017 copyright notices.gjoranv2021-10-076-6/+6
|
* Disallow >1 group to suspendHåkon Hallingstad2021-04-161-10/+12
| | | | | | | If there is more than one group, disallow suspending a node if there is a node in another group that has a user wanted state != UP. If there is 1 group, disallow suspending more than 1 node.
* No longer allow suspension if in maintenanceHåkon Hallingstad2021-04-152-13/+12
| | | | | | If a storage node falls out of Slobrok, it will change from UP to Maintenance after 60s, then after further 30s go to Down. Avoid allowing suspension in the 30s grace period just because it is Maintenance mode.
* Revert "Revert "Avoid safe mutations in master moratorium and increase first ↵Håkon Hallingstad2021-03-243-2/+10
| | | | cluster state broadcast deadline [run-systemtest]""
* Revert "Avoid safe mutations in master moratorium and increase first cluster ↵Håkon Hallingstad2021-03-243-10/+2
| | | | state broadcast deadline [run-systemtest]"
* Avoid safe-set-node-state in master moratoriumHåkon Hallingstad2021-03-243-2/+10
|
* Include metrics always.Henning Baldersheim2021-03-121-27/+0
|
* Revert "Revert "GC unused DiskState and add the partition metrics to node ↵Henning Baldersheim2021-03-121-0/+10
| | | | level.""
* Revert "GC unused DiskState and add the partition metrics to node level."Harald Musum2021-03-121-10/+0
|
* GC unused DiskState and add the partition metrics to node level.Henning Baldersheim2021-03-121-0/+10
|
* Revert "GC unused DiskState"Arnstein Ressem2021-03-123-0/+73
|
* GC unused DiskStateHenning Baldersheim2021-03-113-73/+0
|
* GC use of void DiskState.Henning Baldersheim2021-03-111-3/+0
|
* GC use of NodeState.getDiskCount and NodeState.getDiskStates.Henning Baldersheim2021-03-112-47/+0
|
* Remove unused aguments and methodsHarald Musum2021-02-212-23/+14
|
* Mincor cleanup, no functional changsHarald Musum2021-02-215-21/+19
|
* Fail safe maintenance if other nodes are not upHåkon Hallingstad2021-02-191-6/+8
|
* Add testHåkon Hallingstad2021-02-122-11/+49
|
* Also deny maintenance when another node is in maintenanceHåkon Hallingstad2021-02-121-1/+1
| | | | | | | The cluster controller today already denies setting a node X safely to maintenance M, if there is another node Y in another group that has wanted state M. Which means that if Y is in M but wanted state is not M, X is allowed to be set in M. This is an edge case which is rare.
* Allows setting a node safely to maintenance in these two new circumstances:Håkon Hallingstad2021-01-212-32/+134
| | | | | | | | | | | | | 1. The node has state MAINTENANCE with (user) wanted state UP. 2. There are other nodes in the same hierarchical group that are set in MAINTENANCE with the same description. Also made the following change. 3. Deny a request for safe MAINTENANCE or DOWN, if the wanted state is already set but with a different description. If the descriptions are the same, it is assumed to be the same operator (e.g. Orchestrator) having changed its mind.
* Remove stray parameter docHåkon Hallingstad2020-01-271-4/+2
|
* Remove use-bucket-space-metric feature flagHåkon Hallingstad2020-01-262-5/+5
| | | | | | | | | | The flag controlled config read by the Cluster Controller. Therefore, I have left the ModelContextImpl.Properties method and implementation (now always returning true), but the model has stopped using that method internally, and the config is no longer used in the CC. The field in the fleetcontroller.def is left unchanged and documented as deprecated.
* Test metric value for different dimensions, and moreHåkon Hallingstad2020-01-171-2/+4
|
* Use bucket_space metric in retirementHåkon Hallingstad2020-01-172-3/+3
| | | | | | | | | | | | This makes the Cluster Controller use the vds.datastored.bucket_space.buckets_total, dimension bucketSpace=default, to determine whether a content node manages zero buckets, and if so, will allow the node to go permanently down. This is used when a node is retiring, and it is to be removed from the application. The change is guarded by the use-bucket-space-metric, default true. If the new metric doesn't work as expected, we can revert to using the current/old metric by flipping the flag. The flag can be controlled per application.
* Add non-converged nodes to task deadline exceeded messagesTor Brede Vekterli2019-11-041-4/+5
| | | | | Makes it easier for an external observer to understand what set of nodes is causing the cluster state to not converge.
* Use mockito-core 3.1.0Håkon Hallingstad2019-10-182-4/+4
|
* Cleanup tests, no functional changesHarald Musum2019-09-035-55/+58
|
* Revert "Revert "Revert "Revert "Enforce CC timeouts in Orchestrator 4""""Håkon Hallingstad2018-11-012-10/+40
|
* Revert "Revert "Revert "Enforce CC timeouts in Orchestrator 4"""Håkon Hallingstad2018-11-012-40/+10
|
* Revert "Revert "Enforce CC timeouts in Orchestrator [4]""Håkon Hallingstad2018-11-012-10/+40
|
* Revert "Enforce CC timeouts in Orchestrator [4]"Harald Musum2018-10-312-40/+10
|