summaryrefslogtreecommitdiffstats
path: root/clustercontroller-core
Commit message (Collapse)AuthorAgeFilesLines
* Improve Spec APIHåkon Hallingstad2017-02-226-20/+26
| | | | | | - Removes Spec.getLocalHostName - Removes distinction between listening- and connect- address for Spec - Makes all usage of connect w/Spec specify hostname
* Makes clustercontroller-core work on WiFiHåkon Hallingstad2017-02-205-45/+79
|
* Use relative URLs in Cluster Controller status pageHåkon Hallingstad2017-02-174-19/+17
|
* Add/improve README'sJon Bratseth2017-01-191-0/+5
|
* Merge pull request #1301 from yahoo/bratseth/indexed-tensorJon Bratseth2016-12-131-0/+1
|\ | | | | Bratseth/indexed tensor
| * MapTensor -> MappedTensorJon Bratseth2016-12-121-0/+1
| |
* | Use latest candidate cluster state when comparing against reported node statesTor Brede Vekterli2016-12-093-1/+52
|/ | | | | | | | | | | Using just the versioned cluster state instead can cause the code to erroneously believe that it is seeing repeated reported state changes for the first time. This happens when the diffs in the reported node states are not in and by themselves enough to trigger a new cluster state version containing the changes. This can in turn spam the logs and event buffers until a new cluster state has been versioned.
* Reduce disconnect errors to wraning as they are likely during shutdown.Henning Baldersheim2016-10-121-3/+2
|
* Rewrite and refactor core cluster controller state generation logicTor Brede Vekterli2016-10-0538-1378/+3626
| | | Cluster controller will now generate the new cluster state on-demand in a "pure functional" way instead of conditionally patching a working state over time. This makes understanding (and changing) the state generation logic vastly easier than it previously was.
* Yahoo sets up mac wireless networks such that the local hostname points to anJon Bratseth2016-09-291-2/+1
| | | | | | ip which does not resolve. This works around that problem by finding a resolvable address (while still falling back to localhost if we only get ipv6 addresses, as that causes other problems in docker containers).
* Need to figure out what to do with the tests using DockerOperationsHåkon Hallingstad2016-09-011-0/+2
|
* Less verbose/duplicate logging per fetched child node from ZooKeeperTor Brede Vekterli2016-07-041-2/+2
|
* Always request data for all znodes on master election dir watch callbackTor Brede Vekterli2016-07-011-24/+9
| | | | | | | | | | | | | The previous version of the code attempted to optimize by only requesting node data for nodes that had changed, but there existed an edge case where it would mistakenly fail to request new data for nodes that _had_ changed. This could happen if the callback was invoked when nextMasterData already contained entries for the same set of node indices returned as part of the directory callback. Always clearing our internal state and requesting all znodes is a more robust option. The number of cluster controllers should always be so low that the expected added overhead is negligible.
* Merge pull request #56 from yahoo/vekterli/configurable-group-auto-takedownTor Brede Vekterli2016-06-2716-176/+1410
|\ | | | | Add configurable automatic group up/down feature based on node availability
| * Clarify predicate on isRpcAddressOutdated() for clearing node stateTor Brede Vekterli2016-06-221-4/+14
| | | | | | | | | | | | Logic is unchanged, but added comment with rationale and cross-reference to other method that we're trying to be symmetrical with in terms of state transition behavior.
| * Don't reintroduce already observed timestamps in cluster stateTor Brede Vekterli2016-06-172-9/+60
| | | | | | | | Also address code review comments.
| * Add configurable automatic group up/down feature based on node availabilityTor Brede Vekterli2016-06-1716-175/+1348
| | | | | | | | | | | | | | | | 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.
* | Use info log level for znode child fetching to improve visibilityTor Brede Vekterli2016-06-241-2/+2
| |
* | Move parent pom to toplevel directoryEirik Nygaard2016-06-231-1/+0
| |
* | Change hakon to hakonhallHåkon Hallingstad2016-06-1720-21/+21
| |
* | update author field.Haakon Dybdahl2016-06-176-6/+6
|/
* PublishJon Bratseth2016-06-15141-0/+17704