Code Monkey home page Code Monkey logo

elasticsearch-k8s-operator's People

Contributors

dstathis avatar justinmclark avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

elasticsearch-k8s-operator's Issues

Ensure "split-brain" is not possible

According the the Graylog docs [0], we need to explicitly set discovery.zen.minimum_master_nodes to be NUM_NODES / 2 + 1. If it is less than this, it is possible that two ES leader nodes are elected by different subsets of nodes.

However, we should be aware that this is not necessary in ES 7.x [1].

[0] https://docs.graylog.org/en/3.2/pages/configuration/elasticsearch.html#avoiding-split-brain-and-shard-shuffling
[1] https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking-changes-7.0.html#breaking_70_discovery_changes

Split brain with only two nodes

The current implementation of this Elasticsearch charm protects against "Split Brain" problem but dynamically setting the minimum master nodes parameter. However if the administrator chooses to deploy exactly two nodes then a network partition can still lead to a split brain because each node will find it has quorum (1 minimum master node). How do we protect against this problem ? Shall we explicitly document this in the README ? Is there a better way ?

Transient hook failed error message

After recent commit that used dynamic settings to solve split brain problem, deploying Elasticsearch charm shows transient hook failed errors. This errors are transient and do resolve themselves, possibly in subsequent execution of the same hook. Is this behaviour acceptable ?. What is causing this behaviour ?

Support storage workflows

Use Case

A system operator would like to increase the amount of storage available to Elasticsearch nodes.

Monitoring Elasticsearch Events

A recent bug required the use of a busy loop in the Charm code to fix the problem. This was because there was no obvious way to respond to a event in the application (Elasticsearch) life cycle. The particular event was the discovery of a new node by an existing Elasticsearch cluster. Elasticsearch itself has the ability to raise alerts in response to configurable events (perhaps even the discovery of a new node ?). However there was no obvious way to translate such an alert into a Juju event that the charm can handle. Hence the question, is there a better way to tie the discovery of a new Elasticsearch cluster node to a Charm event handler ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.