atomix / atomix

A Kubernetes toolkit for building distributed applications using cloud native principles

Home Page:https://atomix.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disable automatic Leader election

franz1981 opened this issue · comments

In this scenario:

  • 2 nodes started (a and b)
  • a became leader
  • b stop
  • a stop
  • 2 nodes re-started (a and b)
  • a is automatically leader again

It's possible to save the automatic re-election of a?

I don't think it should be automatic, there should be a vote.

I don't think it should be automatic, there should be a vote.

I've missed the context, sorry: I was talking about the LeaderElection primitive.
If the case I have shown isn't expected to happen using such primitive I can turn this feature request into a proper issue description providing a proper reproducer.