-
Notifications
You must be signed in to change notification settings - Fork 25k
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
NotMasterException with duplicate node ids and minimum_master_nodes not met #32904
Comments
Pinging @elastic/es-distributed |
First up, for the record, copying a data directory from one node to another is always a Very Bad Idea(:tm:). It's not supported, and Elasticsearch's behaviour is undefined if you do this. The way you get a
I don't know that we want to try and handle all these cases in the existing discovery layer, but we should definitely do something better in #32006. |
I agree that we shouldn't invest time here. Closing. @PhaedrusTheGreek are you happy with the explanation? |
I added a corresponding item to the list in #32006 so as not to lose this. |
Elasticsearch version 6.3.1
When an instances with copied data directories cluster with each other, we should see
IllegalArgumentException .. found existing node .. with the same id but is a different node instance
However when
minimum_master_nodes
is not met, we see this instead:NotMasterException .. not master for join request
Steps to reproduce:
minimum_master_nodes
setting, then the more accurate error appears:The text was updated successfully, but these errors were encountered: