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

Skip get_alias tests for 5.x #31397

Merged
merged 1 commit into from
Jun 19, 2018

Commits on Jun 18, 2018

  1. Skip get_alias tests for 5.x

    Some recent failures on the mixed cluster tests were caused by elastic#31308.
    Instead of executing get index API when calling GET /_alias we now go
    through the get alias API. The behaviour of such API is slightly
    different on 5.6 compared to 6.x and master as to whether indices that
    have no aliases are returned or not. In fact elastic#25114 was not backported
    to 5.6.
    
    When the 5.6 node is the elected master, if the get alias API goes
    through such node or another 5.x node, the get index API will be used
    internally and all tests are fine. If some 6.x node is hit though by the
    client request, we will go through the get alias API, but we will do it
    through the elected master which will not return indices without aliases
    (at transport, see MetaData#findAliases on 5.6). That means that in a
    mixed cluster this API will return a different result depending on which
    node is the elected master and which one is hit by the request.
    javanna committed Jun 18, 2018
    Configuration menu
    Copy the full SHA
    61e01d0 View commit details
    Browse the repository at this point in the history