• Dmitry Gruzd's avatar
    Add caching for ES migration_has_finished? · 6bd072e5
    Dmitry Gruzd authored
    This MR adds a caching layer to the
    `Elastic::DataMigrationService.migration_has_finished?` method. We plan
    to call it each time we build an Elasticsearch query when we have before
    and after migration states, so it needs to be performant.
    6bd072e5
migration_worker.rb 2.08 KB