summaryrefslogtreecommitdiffstats
path: root/clustercontroller-core
Commit message (Collapse)AuthorAgeFilesLines
* mockito-all => mockito-coreHenning Baldersheim2019-04-291-1/+1
|
* Change interface from Mirror.Entry[] to List<Mirror.Entry> as you already ↵Henning Baldersheim2019-04-221-4/+9
| | | | | | have a list. Avoid having to do an array copy that is not necessary.
* Address code review feedback for cluster controller changesTor Brede Vekterli2019-03-263-36/+42
|
* Work around some Java generics snags in test mocksTor Brede Vekterli2019-03-221-0/+7
|
* Activation reply processing must inspect actual version returnedTor Brede Vekterli2019-03-2113-35/+113
| | | | | | | | Version mismatches in backend do not return explicit RPC errors, so actual vs. desired versions must be checked in order to avoid potentially spurious activation of other versions. Also do some minor code cleanup.
* Add activated state version to node status page rowTor Brede Vekterli2019-03-204-10/+18
| | | | | Only displayed if not equal to published state version and if two-phase transitions are enabled.
* Break rendering MegaFunction(tm) into separate functionsTor Brede Vekterli2019-03-201-112/+142
|
* Explicitly enable two-phase transitions in tests, disable in default optionsTor Brede Vekterli2019-03-2016-70/+80
| | | | Mirrors the default values in the actual underlying config definitions.
* Add explicit tests of `SystemStateBroadcaster` behaviorTor Brede Vekterli2019-03-202-14/+177
|
* Bring default state of ClusterStateBundle deferred activation flag in line ↵Tor Brede Vekterli2019-03-204-25/+21
| | | | | | | with C++ impl I.e. disabled by default. Also reduce log level for logging used during development.
* Print deferred activation flag in `ClusterStateBundle.toString`Tor Brede Vekterli2019-03-152-4/+36
|
* Bind deferred activation decision to concrete bundle instance, not global configTor Brede Vekterli2019-03-155-9/+38
| | | | Ensure that deferred activation flags are propagated during building and cloning.
* Support configurable two-phase state transitions in cluster controllerTor Brede Vekterli2019-03-1416-108/+382
|
* Initial groundwork for cluster state version activation RPCTor Brede Vekterli2019-03-1410-62/+206
|
* Include deferred activation flag with cluster state bundlesTor Brede Vekterli2019-03-147-18/+114
| | | | | | | Bundles including this flag from the cluster controller indicate to receiver nodes that an explicit activation RPC will follow. When it is not present, nodes must activate the cluster state at their own leisure as they have done historically.
* Reduce log spamHåkon Hallingstad2019-01-221-3/+4
|
* 6-SNAPSHOT -> 7-SNAPSHOTArnstein Ressem2019-01-211-2/+2
|
* Remove experimental enable-multiple-bucket-spaces flag.Geir Storli2018-11-233-14/+3
| | | | The feature has been default on since late May 2018.
* Revert "Revert "Revert "Revert "Enforce CC timeouts in Orchestrator 4""""Håkon Hallingstad2018-11-015-21/+64
|
* Revert "Revert "Revert "Enforce CC timeouts in Orchestrator 4"""Håkon Hallingstad2018-11-015-64/+21
|
* Revert "Revert "Enforce CC timeouts in Orchestrator [4]""Håkon Hallingstad2018-11-015-21/+64
|
* Revert "Enforce CC timeouts in Orchestrator [4]"Harald Musum2018-10-315-64/+21
|
* Revert "Revert "Revert "Revert "Enforce CC timeouts in Orchestrator 2""""Håkon Hallingstad2018-10-305-21/+64
|
* Revert "Revert "Revert "Enforce CC timeouts in Orchestrator 2"""Håkon Hallingstad2018-10-305-64/+21
|
* Revert "Revert "Enforce CC timeouts in Orchestrator 2""Håkon Hallingstad2018-10-295-21/+64
|
* Revert "Enforce CC timeouts in Orchestrator 2"Håkon Hallingstad2018-10-295-64/+21
|
* Fixes after review roundHåkon Hallingstad2018-10-261-1/+1
|
* set-node-state probing in CCHåkon Hallingstad2018-10-245-21/+64
|
* Minor fixesJon Bratseth2018-10-142-38/+39
|
* Add copyright headerJon Bratseth2018-10-012-0/+2
|
* set-node-state timeout in CCHåkon Hallingstad2018-06-226-5/+45
|
* Warn on timeoutHåkon Hallingstad2018-06-151-1/+1
|
* Do not wait for version ack for failed set-node-stateHåkon Hallingstad2018-06-135-6/+82
|
* Remove support for ancient legacy node state protocol versionsTor Brede Vekterli2018-06-113-83/+17
| | | | | Protocol versions 0 and 1 haven't been in use for years. No point in maintaining complexity to support automatic downgrades to these.
* Merge pull request #5766 from ↵Geir Storli2018-05-033-3/+31
|\ | | | | | | | | vespa-engine/vekterli/only-derive-default-space-node-states-when-global-doc-types-present Only derive default bucket space node states when cluster has global docs
| * Only derive default bucket space node states when cluster has global docsTor Brede Vekterli2018-05-023-3/+31
| | | | | | | | | | | | | | Lets cluster controller use new protocols for sending compressed cluster state bundles, but without triggering implicit Maintenance edges for nodes in the default bucket space. Also allows for easy live reconfiguration when global document types are added or removed.
* | Revert "Revert "Gjoranv/java9 prep 05""gjoranv2018-05-021-1/+1
|/
* Revert "Gjoranv/java9 prep 05"gjoranv2018-05-021-1/+1
|
* Java 9: Replace 'new Integer' with 'Integer.valueOf'gjoranv2018-04-301-1/+1
|
* Avoid candidate state racing with published state in testsTor Brede Vekterli2018-04-271-0/+15
| | | | | | | | Since the tests using `StateWaiter` expects to observe _both_ versioned and unversioned (candidate) states, we ignore candidate states iff they are equal to the versioned state we have already observed. Otherwise, tests waiting for a _versioned_ state risk never observing the version number itself (only a candidate following it) and hang until they time out.
* Merge pull request #5710 from vespa-engine/gjoranv/java9-prep-01Bjørn Christian Seime2018-04-251-9/+0
|\ | | | | Gjoranv/java9 prep 01
| * Remove explicit maven-compiler-plugin config. Inherit from parent.gjoranv2018-04-251-9/+0
| |
* | Remove redundant task processing stepTor Brede Vekterli2018-04-251-1/+0
| | | | | | | | Already implicitly called by saveLatestClusterStateBundle()
* | Update log messageTor Brede Vekterli2018-04-251-1/+1
| |
* | ZooKeeper-persist and load published cluster state bundlesTor Brede Vekterli2018-04-2423-125/+716
|/ | | | | | | | | | | | | | | | Store synchronously upon each new versioned state, load whenever controller is elected master. Effectively carries over visible node states from one controller's lifetime to the next. This removes the edge case where default bucket space content nodes are marked as in Maintainence until their global merge status is known. To avoid controller tripping over its own feet, state bundles are now _not_ versioned at all until the initial send time period has passed. This prevents overwriting the state persisted from a previous controller with a transient state where all nodes are down due to not having Slobrok contact yet. A new cluster state recompute+send edge has been added when the master passes its initial state send time period.
* Add metric for node availbility ratioTor Brede Vekterli2018-04-123-6/+62
| | | | | Separate node type dimensions are used for distributors and storage nodes
* Add missing test for existing node state metricsTor Brede Vekterli2018-04-122-0/+131
|
* Fix grammar in Event messageTor Brede Vekterli2018-04-062-2/+2
|
* Add information about derived bucket space state in cluster state history.Geir Storli2018-03-234-21/+71
|
* Add buckets total to per bucket space stats on html status page.Geir Storli2018-03-203-13/+33
|