aboutsummaryrefslogtreecommitdiffstats
path: root/clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/ContentCluster.java
Commit message (Collapse)AuthorAgeFilesLines
* Update copyrightJon Bratseth2023-10-091-1/+1
|
* Renames and minor refactorings, no funcational changesHarald Musum2023-07-091-1/+2
|
* Require distribution to be non-null and fix testsHarald Musum2023-05-261-3/+2
|
* Add back original code and use it for default configHarald Musum2023-04-141-4/+4
| | | | | Set default value for max_number_of_groups_allowed_to_be_down to -1 and use that to switch between old and new code
* Remove unused method and simplifyHarald Musum2023-03-301-24/+20
|
* Simplify NodeStateChangeChecker constructorHarald Musum2023-03-291-3/+2
|
* Simplify now that we can create HierarchicalGroupVisiting in constructorHarald Musum2023-03-291-7/+2
|
* Add config for max number of content groups allowed to be downHarald Musum2023-03-281-3/+19
|
* Revert "Revert collect(Collectors.toList())"Henning Baldersheim2022-12-041-1/+1
|
* Revert collect(Collectors.toList())Henning Baldersheim2022-12-041-1/+1
|
* collect(Collectors.toList()) -> toList()Henning Baldersheim2022-12-021-1/+1
|
* Move html generation to handlerHarald Musum2022-08-101-61/+0
|
* Trigger saveWantedState when nodes are removed or orphaned wanted states are ↵Håkon Hallingstad2022-04-201-3/+4
| | | | loaded
* Use plural for methods returning collectionHåkon Hallingstad2022-04-191-9/+9
|
* Update Verizon Media copyright notices.gjoranv2021-10-071-1/+1
|
* Make default deadline to first broadcast 30sHåkon Hallingstad2021-03-241-1/+2
|
* Revert "Revert "Avoid safe mutations in master moratorium and increase first ↵Håkon Hallingstad2021-03-241-4/+5
| | | | cluster state broadcast deadline [run-systemtest]""
* Revert "Avoid safe mutations in master moratorium and increase first cluster ↵Håkon Hallingstad2021-03-241-5/+4
| | | | state broadcast deadline [run-systemtest]"
* Avoid safe-set-node-state in master moratoriumHåkon Hallingstad2021-03-241-4/+5
|
* Remove unused aguments and methodsHarald Musum2021-02-211-25/+1
|
* Mincor cleanup, no functional changsHarald Musum2021-02-211-6/+3
|
* Fail safe maintenance if other nodes are not upHåkon Hallingstad2021-02-191-2/+0
|
* Add resource usage per node to cluster controller status pageTor Brede Vekterli2021-02-041-0/+9
| | | | | Also adds top-level cluster feed block status. Does not yet make enum store/multivalue limit feed blocks visible per node.
* Allows setting a node safely to maintenance in these two new circumstances:Håkon Hallingstad2021-01-211-3/+15
| | | | | | | | | | | | | 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.
* Support group maintenance [run-systemtest]Håkon Hallingstad2021-01-191-0/+23
|
* Remove use-bucket-space-metric feature flagHåkon Hallingstad2020-01-261-6/+3
| | | | | | | | | | 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.
* Use bucket_space metric in retirementHåkon Hallingstad2020-01-171-2/+6
| | | | | | | | | | | | 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.
* Cleanup tests, no functional changesHarald Musum2019-09-031-4/+4
|
* Add activated state version to node status page rowTor Brede Vekterli2019-03-201-1/+1
| | | | | Only displayed if not equal to published state version and if two-phase transitions are enabled.
* Add buckets total to per bucket space stats on html status page.Geir Storli2018-03-201-0/+1
|
* Add per node buckets pending stats on html status page.Geir Storli2018-02-281-0/+2
|
* Remove never used distributor-put-latency metrics from restapiv2.Geir Storli2018-02-221-13/+0
|
* Also set the distributor wanted state when safe-setting the storage node stateHåkon Hallingstad2017-10-211-2/+1
| | | | | | | | | | This is done as part of the SAFE REST API call to set the node state of a storage node to ensure atomicity of the state change, reduce the number of state changes, and minimize the time to complete the state changes. The right way to think about the safe-set is then: In order to safely set a storage node to (e.g.) maintenance, the distributor will also have to be set to down. And so on for the various permutations of state transitions.
* Update copyright headersJon Bratseth2017-06-141-1/+1
|
* Revert "Update copyright headers"Jon Bratseth2017-06-141-1/+1
|
* Update copyright headersJon Bratseth2017-06-141-1/+1
|
* Revert "Copyright header"Jon Bratseth2017-06-131-1/+1
|
* Copyright headerJon Bratseth2017-06-131-1/+1
|
* Use relative URLs in Cluster Controller status pageHåkon Hallingstad2017-02-171-6/+2
|
* Add configurable automatic group up/down feature based on node availabilityTor Brede Vekterli2016-06-171-1/+1
| | | | | | | | Available under content cluster tuning tag; feature is currently disabled by default (need prod experience for this first). Also improves handling of nodes removed from config by ensuring these are taken out of the core working cluster state instead of just patched away before each state publish.
* PublishJon Bratseth2016-06-151-0/+216