Skip to content

[Upgrade Assistant] Add resolutions for new templates and ilm_policies warnings #208527

@gmarouli

Description

@gmarouli

Follow up from #208496.

In elastic/elasticsearch#120505 ES introduced new warnings, in this issue we list the resolution paths for these.

Configuring source mode in mappings

This is a deprecation warning in the templates section and it refers to a component template. Resolution path requires to change the component template:

# Component template sample
{
  "template": {
      "mappings": {
           "_source": {
                "mode": "stored"
           }
      }
   }
}
# Updated component template
{
  "template": {
      "settings": {
           "index.mapping.source.mode": "stored"
      }
   }
}

See https://www.elastic.co/guide/en/elasticsearch/reference/current/migrating-8.17.html#deprecations_817_mapping.

Tiers via filtered allocation

This is a warning that affects individual indices, index templates, component templates and ILM policies. Here we can choose between two resolution paths:

  • We can use the migration API and deal with this holistically; So just use POST /_ilm/migrate_to_data_tiers, it should work in most cases and I think it's worth a try.

  • or if that's too"risky", we can address each index/template/policy individually. I can elaborate more depending on how we want to proceed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:Upgrade AssistantTeam:CorePlatform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//enhancementNew value added to drive a business resultv8.19.0

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions