summaryrefslogtreecommitdiffstats
path: root/node-repository
Commit message (Collapse)AuthorAgeFilesLines
* Reduced size of node repository dump.mgimle2019-07-091-1/+1
|
* Renamed from NodeAlerter to CapacityReportMaintainer.mgimle2019-07-095-34/+33
|
* Incorporated suggested changes to the NodeAlerter.mgimle2019-07-081-104/+109
|
* Added more comments, made private members private,mgimle2019-07-083-107/+171
| | | | | | | | made static inner class candidates static, moved filtering of uninteresting hosts and tenants to the alerter from the test case generator, added a test for overcommitted nodes, logically segmented the generated test cases, removed explicit null checks in favour of Optionals, changed some inner class initialization behaviour.
* Implemented the Node Alerter maintainer and metric.mgimle2019-07-086-0/+848
| | | | | | | | | | | | | | | This metric attempts to determine how many hosts it's possible to lose before there's no place to fit its tenants, by finding a "shortest path to failure". Since finding the actual path is np-hard, this maintainer constructs a heuristic based on "repeated removals", and finds greedily finds a path to failure with it. The Node Alerter also exposes the "overcommittedNodes" metric, counting how many hosts have children expecting more resources than it can provide. Finally, this commit adds an obfuscated dump of data from zookeeper, useful for running tests which require a node repository which reflects reality.
* Update javadocMartin Polden2019-07-031-3/+1
|
* Merge pull request #9931 from ↵Martin Polden2019-07-012-2/+2
|\ | | | | | | | | vespa-engine/freva/move-serializer-to-non-public-api Move serializers to non public api
| * Move NetworkPortsSerializer to non-public-api serialization packageValerij Fredriksen2019-07-012-2/+2
| |
* | Reduced log for transient errors in ApplicationMaintainerValerij Fredriksen2019-06-301-0/+4
| |
* | Simplify OperatorChangeApplicationMaintainerValerij Fredriksen2019-06-302-23/+17
| |
* | Simplify PeriodicApplicationMaintainerValerij Fredriksen2019-06-302-16/+7
| |
* | Always activate through MockDeployerValerij Fredriksen2019-06-303-76/+51
| |
* | Ignore TransientException in NodeFailer and RetiredExpirerValerij Fredriksen2019-06-292-2/+14
|/
* Fix TODOMartin Polden2019-06-271-2/+0
|
* Read and write all load balancers on constructionMartin Polden2019-06-272-7/+19
|
* Avoid reading all load balancers on prepareMartin Polden2019-06-272-9/+10
|
* Remove unused rotations parameterMartin Polden2019-06-2620-72/+56
|
* Remove support for legacy serialization formatMartin Polden2019-06-253-48/+5
| | | | New format is now used everywhere.
* Revert "Do not require changeAt to be after previous value"Martin Polden2019-06-251-0/+4
| | | | This reverts commit a1bd5a9f0e9a72f24b96e08755deb6c17e0e7b41.
* Force load balancer reconfig when in non-active stateMartin Polden2019-06-256-13/+81
|
* Fix exception messageMartin Polden2019-06-251-1/+1
|
* Log realsMartin Polden2019-06-251-2/+2
|
* Rename testMartin Polden2019-06-241-1/+1
|
* Never provision a new LB in activateMartin Polden2019-06-242-4/+29
|
* Fix nameMartin Polden2019-06-241-3/+3
|
* Use common exception class for transient provisioning exceptionsMartin Polden2019-06-212-1/+25
|
* Merge pull request #9868 from vespa-engine/freva/use-same-intervalHarald Musum2019-06-211-1/+1
|\ | | | | Use same interval for PeriodicApplicationMaintainer in test environments
| * Use same interval for PeriodicApplicationMaintainer in test environmentsValerij Fredriksen2019-06-211-1/+1
| |
* | Prepare nodes before load balancersMartin Polden2019-06-214-7/+28
|/ | | | | | In case we're reactivating a inactive load balancer, we need a non-empty set of nodes when re-configuring (a guard in the `LoadBalancerService` implementation enforces this).
* Log when creating LBMartin Polden2019-06-211-0/+6
|
* Merge pull request #9861 from vespa-engine/freva/remove-node-retirerValerij Fredriksen2019-06-2116-1448/+3
|\ | | | | Remove NodeRetirer
| * Remove NodeRetirerValerij Fredriksen2019-06-2016-1448/+3
| |
* | Do not require changeAt to be after previous valueMartin Polden2019-06-201-4/+0
|/ | | | This cannot be enforced before the new serialized format is used on all nodes.
* Remove stray printlnMartin Polden2019-06-201-1/+0
|
* A load balancer can never move to reserved from another stateMartin Polden2019-06-201-1/+1
|
* Expire reserved load balancersMartin Polden2019-06-202-4/+64
|
* Expire inactive load balancers after a fixed timeoutMartin Polden2019-06-204-16/+39
|
* Merge pull request #9854 from vespa-engine/mpolden/prepare-lbsHarald Musum2019-06-2017-177/+416
|\ | | | | Prepare and activate load balancers
| * Prepare and activate load balancersMartin Polden2019-06-209-121/+252
| |
| * Store LoadBalancer stateMartin Polden2019-06-2010-63/+174
| |
| * SimplifyMartin Polden2019-06-191-4/+1
| |
* | Remove description from flavorValerij Fredriksen2019-06-1918-20/+1
|/
* Merge pull request #9817 from vespa-engine/bratseth/serialization-warningHarald Musum2019-06-162-4/+11
|\ | | | | Bratseth/serialization warning
| * Add a comment warning about serialization format changesJon Bratseth2019-06-151-0/+7
| |
| * Add a comment warning about serialization format changesJon Bratseth2019-06-151-4/+4
| |
* | Use DockerHostCalculator to find the available capacity remaining on the hostValerij Fredriksen2019-06-142-3/+25
| |
* | Propagate HostResourcesCalculator to DockerHostCapacityValerij Fredriksen2019-06-149-7/+58
| |
* | Invert variable nameValerij Fredriksen2019-06-141-2/+2
| |
* | Compare enums directlyValerij Fredriksen2019-06-142-8/+7
| |
* | Move methods only used by MetricsReporter out of DockerHostCapacityValerij Fredriksen2019-06-144-144/+47
| |