summaryrefslogtreecommitdiffstats
path: root/clustercontroller-apps/src/test
Commit message (Collapse)AuthorAgeFilesLines
* Update copyrightJon Bratseth2023-10-095-5/+5
|
* Code cleanup, no functional changesHarald Musum2023-07-054-9/+8
|
* Make FleetControllerOptions immutable and support builder patternHarald Musum2022-08-311-5/+5
|
* Remove useless test that requires hacks in other placesHarald Musum2022-08-221-70/+0
| | | | | Want to require zooKeeperServerAddress and slobrokConnectionSpecs being non-null
* Revert "Cluster controller unit test cleanup, part 4 [run-systemtest]"Harald Musum2022-08-221-0/+70
|
* Remove useless test that requires hacks in other placesHarald Musum2022-08-171-70/+0
| | | | | Want to require zooKeeperServerAddress and slobrokConnectionSpecs being non-null
* Convert clustercontroller-apps to junit5Bjørn Christian Seime2022-07-296-40/+44
|
* Shut down ClusterController from last configurer, thus before ZKJon Marius Venstad2022-03-112-9/+12
|
* Extend ThreadedHttpReqHndlr instead of deprecated LoggingReqHndlrgjoranv2022-01-172-2/+2
|
* Update Verizon Media copyright notices.gjoranv2021-10-071-1/+1
|
* Update 2017 copyright notices.gjoranv2021-10-075-5/+5
|
* Avoid recreation of ClusterController when config changesJon Marius Venstad2021-02-161-2/+4
|
* Support configurable feed block hysteresis on the cluster controllerTor Brede Vekterli2021-02-101-1/+3
| | | | | | | | | | | | | | | | | | | 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-081-2/+4
|
* Add cluster feed block support to cluster controllerTor Brede Vekterli2021-01-271-1/+7
| | | | | | | | | | | | | | | 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.
* Remove unnecessary argumentHarald Musum2020-12-141-13/+13
|
* Disallow creating a cluster controller having no zookeeper clusterHarald Musum2020-12-141-13/+2
|
* Move code in clustercontroller-apputils into clustercontroller-appsHarald Musum2020-12-012-0/+93
| | | | | Code in clustercontroller-apputils is now only used from clustercontroller-apps, so those two modules can be merged
* Nonfunctional changes onlyJon Bratseth2018-02-264-17/+28
|
* use LoggingRequestHandler.Context in constructorsArne Juul2018-01-052-8/+2
| | | | | * this implicitly wires in a Metric, allowing handler invocations to be measured in the ThreadedRequestHandler superclass.
* Nonfunctional changesJon Bratseth2017-08-304-0/+4
|
* Update copyright headersJon Bratseth2017-06-144-4/+4
|
* Revert "Update copyright headers"Jon Bratseth2017-06-144-4/+4
|
* Update copyright headersJon Bratseth2017-06-144-4/+4
|
* Revert "Copyright header"Jon Bratseth2017-06-134-4/+4
|
* Copyright headerJon Bratseth2017-06-134-4/+4
|
* Add configurable automatic group up/down feature based on node availabilityTor Brede Vekterli2016-06-171-1/+6
| | | | | | | | 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-154-0/+204