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

MetaData Builder doesn't properly prevent an alias with the same name as an index #26804

Merged
merged 2 commits into from
Sep 29, 2017

Commits on Sep 27, 2017

  1. MetaData Builder doesn't properly prevent an alias with the same name…

    … of index
    
    Elasticsearch doesn't allow having an index alias named with the same name as an existing index. We currently have logic that tries to prevents that in the `MetaData.Builder#build()` method. Sadly that logic is flawed. Depending on iteration order, we may allow the above to happen (if we encounter the alias before the index).
    
    This commit fixes the above and improves the error message while at it.
    bleskes committed Sep 27, 2017
    Configuration menu
    Copy the full SHA
    6bfefdf View commit details
    Browse the repository at this point in the history
  2. feedback

    bleskes committed Sep 27, 2017
    Configuration menu
    Copy the full SHA
    fe1ca9a View commit details
    Browse the repository at this point in the history