Skip to content
GitLab

GitLab's data migration process for Advanced Search

Jun 1, 2021Dmitry Gruzd7 min read
Opens about.gitlab.com
What the post coversAI, from the source post

Introduced a new, automated, background migration framework for Elasticsearch data, inspired by Rails DB migrations.

  • This framework uses time-stamped migration files stored in Elasticsearch itself, with a background worker to execute them.
  • It supports features like batched migrations, throttling, pausing indexing, and space requirement checks.
  • This framework has been used to migrate issues, comments, and merge requests, and is crucial for the ongoing separation of document types into their own indices.
Read the full post on about.gitlab.com · 7 min (opens in a new tab)

More from the Database Migration Debugging and Cross-Database Compatibility trail