• Dmitry Gruzd's avatar
    Fix halted migrations unpausing · 5dfa3718
    Dmitry Gruzd authored
    During the issues migration rollout we noticed that for halted migration
    Elastic::MigrationWorker has been unpausing indexing each run, which
    could be dangerous and not expected by instance admins. This change
    fixes this problem by introducing halted_indexing_unpaused flag,
    which is flipped only once after the migration is halted.
    5dfa3718
migration.rb 1.11 KB