Skip to content

Draft: Multi-step elastic migration DSL

John Mason requested to merge feature-add-migration-name-to-index into master

What does this MR do and why?

Adds name to migration index. This will be useful for exporting metrics and make debugging easier.

Using the above as a use case, this MR adds a DSL for multi-step migrations.

TODO:

  • documentation
  • mapping task specs
  • mapping task dumping schema
    • MigrationRecord should have its own schema/mapping file
  • Elastic::Tasks should be auto loaded

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by John Mason

Merge request reports