aboutsummaryrefslogtreecommitdiffstats
path: root/clustercontroller-apps
Commit message (Collapse)AuthorAgeFilesLines
* Remove config generation -1/0 from CC at :19050/status/<clustername>/configHåkon Hallingstad2021-10-201-1/+1
|
* Update Verizon Media copyright notices.gjoranv2021-10-073-3/+3
|
* Update 2017 copyright notices.gjoranv2021-10-0712-12/+12
|
* Revert "Avoid safe mutations in master moratorium and increase first cluster ↵Håkon Hallingstad2021-03-241-14/+3
| | | | state broadcast deadline [run-systemtest]"
* Increase the minimum time before first cluster state broadcast [run-systemtest]Håkon Hallingstad2021-03-191-3/+14
|
* High graph constructino timeoutJon Marius Venstad2021-02-201-1/+1
|
* Die after 1 minute if no ZK-connection when constructing CCJon Marius Venstad2021-02-191-1/+3
|
* Merge pull request #16527 from ↵Jon Marius Venstad2021-02-163-11/+19
|\ | | | | | | | | vespa-engine/jonmv/create-only-one-cluster-controller Avoid recreation of ClusterController when config changes
| * Avoid recreation of ClusterController when config changesJon Marius Venstad2021-02-163-11/+19
| |
* | Also shut down Curator instances created during clustercontroller component ↵Jon Marius Venstad2021-02-141-2/+3
|/ | | | setup
* Support configurable feed block hysteresis on the cluster controllerTor Brede Vekterli2021-02-102-1/+4
| | | | | | | | | | | | | | | | | | | Adds an absolute number delta that is subtracted from the feed block limit when a node has a resource already in feed blocked state. This means that there's a lower watermark threshold that must be crossed before feeding can be unblocked. Avoids flip-flopping between block states. Default is currently 0.0, i.e. effectively disabled. To be modified later for system tests and trial roll-outs. A couple of caveats with the current implementation: * The cluster state is not recomputed automatically when just the hysteresis threshold is crossed, so the description will be out of date on the content nodes. However, if any other feed block event happens (or the hysteresis threshold is crossed), the state will be recomputed as expected. This does not affect correctness, since the feed is still to be blocked. * A node event remove/add pair is emitted for feed block status when the hysteresis threshold is crossed and there's a cluster state recomputation.
* Fix importHarald Musum2021-02-091-1/+1
|
* Cleanup: Remove unnecessary and unused methods, simplifyHarald Musum2021-02-082-17/+24
|
* Add cluster feed block support to cluster controllerTor Brede Vekterli2021-01-272-1/+10
| | | | | | | | | | | | | | | Will push out a new cluster state bundle indicating cluster feed blocked if one or more nodes in the cluster has one or more resources exhausted. Similarly, a new state will be pushed out once no nodes have resources exhausted any more. The feed block description currently contains up to 3 separate exhausted resources, possibly across multiple nodes. A cluster-level event is emitted for both the block and unblock edges. No hysteresis is present yet, so if a node is oscillating around a block-limit, so will the cluster state.
* Add back javadocHarald Musum2020-12-161-0/+4
|
* Inject VespaZooKeeperServer in constructorHarald Musum2020-12-161-1/+7
|
* Revert "Revert " Stop depending on ZooKeeperProvider, take 2""Harald Musum2020-12-164-48/+2
|
* Revert " Stop depending on ZooKeeperProvider, take 2"Harald Musum2020-12-164-2/+48
|
* Constructor needs to be publicHarald Musum2020-12-151-1/+1
|
* Revert "Revert "Stop depending on ZooKeeperProvider""Harald Musum2020-12-154-47/+1
|
* Revert "Stop depending on ZooKeeperProvider"Harald Musum2020-12-154-1/+47
|
* Stop depending on ZooKeeperProviderHarald Musum2020-12-154-47/+1
| | | | | | | | VespaZooKeeperServer is enough, ZooKeeperProvider is just an unnecessary extra layer. In addition neither provides any guarantee that the the server has started and is working. ClusterController has code that verifies that connecting to zookeeper works, that should be sufficient.
* Merge branch 'master' into ↵Harald Musum2020-12-141-12/+13
|\ | | | | | | hmusum/disallow-clustercontroller-with-no-zookeeper-cluster
| * Use CuratorFramework.blockUntilConnected() to verify connectionHarald Musum2020-12-141-6/+2
| |
| * Refactor code and document code to verify that ZooKeeper is workingHarald Musum2020-12-141-12/+17
| |
* | Remove unnecessary argumentHarald Musum2020-12-143-18/+18
| |
* | Disallow creating a cluster controller having no zookeeper clusterHarald Musum2020-12-142-28/+8
|/
* Revert "Remove code that nobody understands the need for"Arnstein Ressem2020-12-091-2/+11
|
* Remove code that nobody undrstands the need forHarald Musum2020-12-081-11/+2
| | | | | | Cannot find any usage of nodes created. This might be some initialization code to check if operations work, but I cannot see the need for it. If this breaks something we can at least document why this is needed.
* Move code in clustercontroller-apputils into clustercontroller-appsHarald Musum2020-12-016-6/+278
| | | | | Code in clustercontroller-apputils is now only used from clustercontroller-apps, so those two modules can be merged
* Rename methodHarald Musum2020-11-181-1/+1
|
* LogLevel -> Level for isLoggable()gjoranv2020-04-251-1/+1
|
* Import java.util.logging.Level instead of com.yahoo.log.LogLevelgjoranv2020-04-251-1/+1
|
* Remove use-bucket-space-metric feature flagHåkon Hallingstad2020-01-261-1/+0
| | | | | | | | | | 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-0/+1
| | | | | | | | | | | | 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.
* Revert "Revert "Reapply "Create seperate bundles compiled against different ↵Harald Musum2019-10-281-1/+1
| | | | ZooKeeper versions"""
* Revert "Reapply "Create seperate bundles compiled against different ↵Harald Musum2019-10-281-1/+1
| | | | ZooKeeper versions""
* Revert "Revert "Reapply "Create seperate bundles compiled against different ↵Harald Musum2019-10-271-1/+1
| | | | ZooKeeper versions"""
* Revert "Reapply "Create seperate bundles compiled against different ↵Harald Musum2019-10-271-1/+1
| | | | ZooKeeper versions""
* Revert "Revert "Reapply "Create seperate bundles compiled against different ↵Harald Musum2019-10-261-1/+1
| | | | ZooKeeper versions"""
* Revert "Reapply "Create seperate bundles compiled against different ↵Harald Musum2019-10-261-1/+1
| | | | ZooKeeper versions""
* Revert "Revert "Reapply "Create seperate bundles compiled against different ↵Harald Musum2019-10-261-1/+1
| | | | ZooKeeper versions"""
* Revert "Reapply "Create seperate bundles compiled against different ↵Harald Musum2019-10-261-1/+1
| | | | ZooKeeper versions""
* Revert "Revert "Reapply "Create seperate bundles compiled against different ↵Harald Musum2019-10-251-1/+1
| | | | ZooKeeper versions"""
* Revert "Reapply "Create seperate bundles compiled against different ↵Harald Musum2019-10-251-1/+1
| | | | ZooKeeper versions""
* Revert "Revert "Reapply "Create seperate bundles compiled against different ↵Harald Musum2019-10-251-1/+1
| | | | ZooKeeper versions"""
* Revert "Reapply "Create seperate bundles compiled against different ↵Harald Musum2019-10-251-1/+1
| | | | ZooKeeper versions""
* Revert "Revert "Create seperate bundles compiled against different ZooKeeper ↵Harald Musum2019-10-251-1/+1
| | | | versions""
* Revert "Create seperate bundles compiled against different ZooKeeper versions"Harald Musum2019-10-251-1/+1
|
* Fix dependencyHarald Musum2019-10-241-1/+1
|