summaryrefslogtreecommitdiffstats
path: root/clustercontroller-core/src/test
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #22225 from ↵Håkon Hallingstad2022-04-223-27/+11
|\ | | | | | | | | vespa-engine/jonmv/clustercontroller-core-test-retries-and-random-cleanup Jonmv/clustercontroller core test retries and random cleanup
| * Unignore more tests—they look like all the others—and lower timeoutjonmv2022-04-222-5/+1
| |
| * Use fake timer where needed, unignore those tests, and remove fake timer ↵jonmv2022-04-221-22/+10
| | | | | | | | usage elsehwere
* | Fix reference to storeWantedStatesHåkon Hallingstad2022-04-211-2/+2
| |
* | Improve test method nameHåkon Hallingstad2022-04-211-1/+1
| |
* | Add unit testHåkon Hallingstad2022-04-201-1/+55
| |
* | Trigger saveWantedState when nodes are removed or orphaned wanted states are ↵Håkon Hallingstad2022-04-209-36/+46
| | | | | | | | loaded
* | Remove redundant parameters from ZooKeeperDatabase constructorHåkon Hallingstad2022-04-191-1/+1
| |
* | Use plural for methods returning collectionHåkon Hallingstad2022-04-197-24/+24
|/
* Fix comparison between manually deployed package and not, and remove ↵Jon Marius Venstad2022-01-131-1/+1
| | | | outdated safeguard
* GC use of deprecated junit assertThat and unifyHenning Baldersheim2021-12-2115-104/+84
|
* Use FleetControllerContext in ZooKeeperDatabaseHåkon Hallingstad2021-12-139-19/+67
|
* Remove config generation -1/0 from CC at :19050/status/<clustername>/configHåkon Hallingstad2021-10-206-19/+15
|
* Revert changes to config generationHåkon Hallingstad2021-10-206-16/+21
|
* Fixes after review roundHåkon Hallingstad2021-10-195-8/+8
|
* Improve logging of FleetController and DatabaseHandlerHåkon Hallingstad2021-10-1512-62/+79
|
* Some optimizations of RpcServerTestHåkon Hallingstad2021-10-143-21/+29
|
* Reduce running time of MasterElectionTest from 28 to 12sHåkon Hallingstad2021-10-141-0/+6
|
* Update Verizon Media copyright notices.gjoranv2021-10-0730-30/+30
|
* Update 2018 copyright notices.gjoranv2021-10-0719-19/+19
|
* Update 2017 copyright notices.gjoranv2021-10-0732-32/+32
|
* More lazy debug log message generationJon Marius Venstad2021-04-282-25/+25
|
* Reapply "add more logging" (new and updated slobrok logging)Arne Juul2021-04-212-0/+2
| | | | This reverts commit 9aa3d6fe6567e3eee9108d6fffbc50d5874e72e3.
* Revert "add more logging"Harald Musum2021-04-202-2/+0
|
* track API change in mockArne Juul2021-04-192-0/+2
|
* Improve test namesHåkon Hallingstad2021-04-161-4/+4
|
* Disallow >1 group to suspendHåkon Hallingstad2021-04-162-15/+176
| | | | | | | 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.
* Merge branch 'master' into hmusum/cleanup-7Harald Musum2021-04-084-6/+8
|\
| * Add remote task queue size metric in cluster controllerHåkon Hallingstad2021-04-014-6/+8
| |
* | Cleanup tests a bitHarald Musum2021-04-083-43/+49
| |
* | Fix typo in class nameHarald Musum2021-04-081-1/+1
|/
* Revert "Revert "Avoid safe mutations in master moratorium and increase first ↵Håkon Hallingstad2021-03-244-5/+26
| | | | cluster state broadcast deadline [run-systemtest]""
* Revert "Avoid safe mutations in master moratorium and increase first cluster ↵Håkon Hallingstad2021-03-244-26/+5
| | | | state broadcast deadline [run-systemtest]"
* Merge pull request #17085 from ↵Håkon Hallingstad2021-03-244-5/+26
|\ | | | | | | | | vespa-engine/hakonhall/increase-the-minimum-time-before-first-cluster-state-broadcast-run-systemtest Avoid safe mutations in master moratorium and increase first cluster state broadcast deadline [run-systemtest]
| * Avoid safe-set-node-state in master moratoriumHåkon Hallingstad2021-03-244-5/+26
| |
* | Revert deferred ZK connectivity for nowTor Brede Vekterli2021-03-221-12/+1
| | | | | | | | | | | | Instead, we'll want to create a more generalized solution that considers all sources of node information (Slobrok _and_ explicit health check RPCs) before potentially publishing a state or processing tasks.
* | Inhibit ZooKeeper connections until our local Slobrok mirror is ready.Tor Brede Vekterli2021-03-192-1/+17
|/ | | | | | | | Otherwise, if there are transient Slobrok issues during CC startup and we end up winning the election, we risk publishing a cluster state where the entire cluster appears down (since we do not have any knowledge of Slobrok node mapping state). This will adversely affect availability for all the obvious reasons.
* Guard against ever accidentally publishing a default constructed stateTor Brede Vekterli2021-03-191-16/+16
| | | | | Since version 0 states were ambiguous with the sentinel values for "not written to ZK/not tagged as official", this could be mis-interpreted.
* use US localeKristian Aune2021-03-191-3/+4
|
* Revert "Inhibit ZooKeeper connections until our local Slobrok mirror is ready."Tor Brede Vekterli2021-03-182-17/+1
|
* Merge pull request #17029 from ↵Tor Brede Vekterli2021-03-182-1/+17
|\ | | | | | | | | vespa-engine/vekterli/inhibit-db-connectivity-until-slobrok-is-ready Inhibit ZooKeeper connections until our local Slobrok mirror is ready.
| * Inhibit ZooKeeper connections until our local Slobrok mirror is ready.Tor Brede Vekterli2021-03-182-1/+17
| | | | | | | | | | | | | | | | Otherwise, if there are transient Slobrok issues during CC startup and we end up winning the election, we risk publishing a cluster state where the entire cluster appears down (since we do not have any knowledge of Slobrok node mapping state). This will adversely affect availability for all the obvious reasons.
* | 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
| |
* | GC unused importHenning Baldersheim2021-03-122-2/+0
|/
* Merge pull request #16926 from ↵Tor Brede Vekterli2021-03-121-9/+23
|\ | | | | | | | | vespa-engine/vekterli/dont-store-full-bundle-objects-in-state-history Don't store full bundle objects in state history
| * Don't store full bundle objects in cluster state historyTor Brede Vekterli2021-03-121-9/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | Bundles have a lot of sub-objects per state, so in systems with a high amount of node entries, this adds unnecessary pressure on the heap. Instead, store the string representations of the bundle and the string representation of the diff to the previous state version (if any). This is also inherently faster than computing the diffs on-demand on every status page render. Also remove mutable `official` field from `ClusterState`. Not worth violating immutability of an object just to get some prettier (but with high likelihood actually more confusing) status page rendering.