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

[ML] Don't install empty ML metadata on startup #30751

Merged

Commits on May 21, 2018

  1. [ML] Don't install empty ML metadata on startup

    This change is to support rolling upgrade from a pre-6.3 default
    distribution (i.e. without X-Pack) to a 6.3+ default distribution
    (i.e. with X-Pack).
    
    The ML metadata is no longer eagerly added to the cluster state
    as soon as the master node has X-Pack available.  Instead, it
    is added when the first ML job is created.
    
    As a result all methods that get the ML metadata need to be able
    to handle the situation where there is no ML metadata in the
    current cluster state.  They do this by behaving as though an
    empty ML metadata was present.  This logic is encapsulated by
    always asking for the current ML metadata using a static method
    on the MlMetadata class.
    
    Relates elastic#30731
    droberts195 committed May 21, 2018
    Configuration menu
    Copy the full SHA
    04eb564 View commit details
    Browse the repository at this point in the history