Skip to content

Output of migration system_features incorrectly reports all dot prefixed indices as system indices #98089

@pgomulka

Description

@pgomulka

Elasticsearch Version

7.17

Installed Plugins

No response

Java Version

bundled

OS Version

mac

Problem Description

Kibana is using /_migration/system_features to filter out indices that require a migration from _migration/deprecations?pretty output.
while it makes sense for 7.7+ created indices (the validation to prevent use a . dot prefixed index name) it will prevent to do a correct upgrade from 7.x to 8.x as it is still ok to have 6.x or <7.7 created indices.

We should change the logic in /_migration/system_features to take into account that an index created in <7.7 migth still have a . in a prefix

a validation of dot prefixed index names #49959

Steps to Reproduce

  1. in <7.7 create a dot prefixed index name
  2. upgrade to 7.7+
  3. run a migration api /_migration/system_features
    observe that an index is reported as a system index

Logs (if relevant)

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions