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

[7.15] [RAC][Rule Registry] Implement versioning and backing indices (#109276) #110125

Merged
merged 1 commit into from
Aug 25, 2021

Commits on Aug 25, 2021

  1. [RAC][Rule Registry] Implement versioning and backing indices (elasti…

    …c#109276)
    
    **Ticket:** elastic#109293
    
    🚨 **This PR is critical for Observability 7.15** 🚨
    
    ## Summary
    
    This PR fixes the indexing implementation in `rule_registry`. It implements the suggestions for backwards compatibility described in the ticket:
    
    - changes the naming scheme and introduces the concept of "backing indices", so that names of the concrete ("backing") indices != names of their aliases
    - adds versioning based on the current Kibana version
    
    TODO:
    
    - [x] Change index naming (implement the concept of backing indices)
    - [x] Include Kibana version into the index template metadata
    - [x] Include Kibana version into the document fields
    - [x] Remove `version` from `IndexOptions` (parameters provided by solutions/plugins when initializing alerts-as-data indices)
    - [x] Fix CI
    
    ### Checklist
    
    - [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials
    - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
    banderror authored and kibanamachine committed Aug 25, 2021
    Configuration menu
    Copy the full SHA
    3d7fed0 View commit details
    Browse the repository at this point in the history