Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: add ability to specify Akka.Cluster SplitBrainResolver strategy via environment variable #115

Closed
Aaronontheweb opened this issue Dec 13, 2019 · 1 comment · Fixed by #120

Comments

@Aaronontheweb
Copy link
Member

We should add support for running our pre-built Lighthouse Docker images with an Akka.Cluster SplitBrainResolver - currently it's not possible to enable one of these without building a custom Docker image, and it's considered to be a best Akka.Cluster practice to run with a consistent split brain configuration available on all cluster nodes.

Therefore, we should add an ability to configure this via an environment variable:

SPLIT_BRAIN_STRATEGY=none|keep-majority|keep-oldest|static-quorum|keep-referee

Some of these strategies, such as static quorum and keep-referee, are going to require additional environment variables to support their mandatory parameters (quorum size and referee address, respectively.)

We should add these to the next release of Lighthouse and to the Lighthouse documentation.

The default value in Lighthouse should be keep-majority

@ghost
Copy link

ghost commented Jan 11, 2020

As shown in the image below, the docker image uses the keep-majority strategy by default.

image

@kodiakhq kodiakhq bot closed this as completed in #120 Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant