Events Service Data Migration Failure: Multiple Indices Detected for the Same Alias
Events Service data migration fails with the following errors:
-
Check the
{HOME}/migration-tool/SERVICE-MIGRATION-STATUS.txtfile to verify the Events Service data migration status.CODEMigration Status - Updated: 2025-12-09 13:24:55 ==================================================== EUM | Status: running SYNTH | Status: running CONTROLLER | Status: saturated EVENTS | Status: failed ==================================================== -
If the Events Service data migration status is
failed, in some logs, you may observe the following pattern:CODEconfig_manager - restore_worker - ERROR - Elasticsearch-migration-restore-worker: Restore submit failed: ApiError(500, 'illegal_state_exception', 'alias [<alias_name>] has more than one write index [<index_1>,<index_2>]')Example log:CODEconfig_manager - restore_worker - ERROR - Elasticsearch-migration-restore-worker: Restore submit failed: ApiError(500, 'illegal_state_exception', 'alias [ati-onprem-qse___mobiledevicemetrics___insert] has more than one write index [ati-onprem-qse___mobiledevicemetrics___2026-03-07_13-30-00,ati-onprem-qse___mobiledevicemetrics___2026-02-26_13-25-00]')
This error pattern appear if the migration tool detects one or more indices for the same alias. This creates the alias conflict because multiple indices have the write access. As a result, the Events Service data migration fails.
Update the respective index configuration (is_write_index) to false in the old index.