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

Prevent downgrades from 8.x to 7.x #78638

Commits on Oct 4, 2021

  1. Prevent downgrades from 8.x to 7.x

    Users sometimes attempt to downgrade a node in place, but downgrades are
    totally untested and unsupported and generally don't work. We protect
    against this by recording the node version in the metadata and refusing
    to start if we encounter metadata written by a future version.
    
    However in 8.0 (elastic#42489) we changed the directory layout so that a 7.x
    node won't find the upgraded metadata, or indeed any other data, and
    will proceed as if it's a fresh node. That's almost certainly not what
    the user wants, so with this commit we create a file at
    `${path.data}/nodes` at each startup, preventing an older node from
    starting.
    
    Closes elastic#52414
    DaveCTurner committed Oct 4, 2021
    Configuration menu
    Copy the full SHA
    213a508 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2021

  1. Configuration menu
    Copy the full SHA
    9abe51a View commit details
    Browse the repository at this point in the history