AE-2346 : During snapshot import, the UI & status API continue to report the import as “In Progress,” even though the backend process has stalled and no actual restore activity is occurring.
Review Request #1318 — Created Jan. 20, 2026 and submitted
| Information | |
|---|---|
| pmurugaiyan | |
| AMP | |
| amp_3_7_2 | |
| AE-2346 | |
| Reviewers | |
| apoorva.sn, pradeep, shuinvy | |
2026-01-20 09:09:21 Export PID: 2492
2026-01-20 09:09:21 ===============================================
2026-01-20 09:09:21 STARTING ELASTICSEARCH SNAPSHOT EXPORT
2026-01-20 09:09:21 Snapshot directory : /var/backups/es_snapshots
2026-01-20 09:09:21 Snapshot name : snap_20260120_090921
2026-01-20 09:09:21 Remote transfer : admin@192.168.85.41:/home/admin/es3
2026-01-20 09:09:21 ===============================================
2026-01-20 09:09:59 Ensuring path.repo is configured...
2026-01-20 09:09:59 [3/6] Restarting Elasticsearch if required...
Elasticsearch restart not required.
{"acknowledged":true}
2026-01-20 09:10:00 Creating local snapshot: snap_20260120_090921 (indices=acm_syslog-*)
{"snapshot":{"snapshot":"snap_20260120_090921","uuid":"xwSzsePsSxmym7hlGSrMWQ","version_id":7050199,"version":"7.5.1","indices":[],"include_global_state":false,"state":"SUCCESS","start_time":"2026-01-20T03:40:00.048Z","start_time_in_millis":1768880400048,"end_time":"2026-01-20T03:40:00.048Z","end_time_in_millis":1768880400048,"duration_in_millis":0,"failures":[],"shards":{"total":0,"failed":0,"successful":0}}}
2026-01-20 09:10:00 Snapshot created successfully: snap_20260120_090921
2026-01-20 09:10:00 Transferring snapshot to admin@192.168.85.41:/home/admin/es3
2026-01-20 09:10:00 Using tar+ssh for transfer (optimized for large file counts)...
2026-01-20 09:34:08 Snapshot transferred to remote successfully (tar+ssh)
2026-01-20 09:34:08 ===============================================
2026-01-20 09:34:08 SNAPSHOT CREATED SUCCESSFULLY
2026-01-20 09:34:08 Snapshot name: snap_20260120_090921
2026-01-20 09:34:08 ===============================================[admin@AN ~]$ du -sh es3
29G es3
[admin@AN ~]$2026-01-19 22:15:42 Import directory: /var/backups/es_snapshots/import_20260119_221107
2026-01-20 09:36:24 Import PID: 4980
2026-01-20 09:36:24 ===============================================
2026-01-20 09:36:24 STARTING ELASTICSEARCH SNAPSHOT IMPORT
2026-01-20 09:36:24 Restoring snapshot from remote AMP directory: /home/admin/es3
2026-01-20 09:36:24 [1/9] Detecting snapshot name on source AMP...
2026-01-20 09:36:28 Snapshot detected: snap_20251231_211154
2026-01-20 09:36:28 [2/9] Creating snapshot import directory...
2026-01-20 09:36:28 Using snapshot import directory: /var/backups/es_snapshots/import_20260120_093624
2026-01-20 09:36:28 [3/9] Copying snapshot directory...
2026-01-20 09:36:28 Using tar+ssh for transfer (optimized for large file counts)...
2026-01-20 09:55:29 tar+ssh exit codes: ssh=0, tar=0
2026-01-20 09:55:29 Snapshot directory copied successfully (tar+ssh)
2026-01-20 09:55:29 Fixing snapshot directory ownership...
2026-01-20 09:55:41 [4/9] Setting path.repo and restarting Elasticsearch...
2026-01-20 09:56:12 [5/9] Registering snapshot repository...
2026-01-20 09:56:12 Waiting for Elasticsearch cluster to be ready...
2026-01-20 09:56:23 Elasticsearch cluster is ready
2026-01-20 09:56:23 Registering snapshot repository (attempt 1)...
{"acknowledged":true}
2026-01-20 09:56:23 Repository registered successfully
2026-01-20 09:56:23 [5.5/9] Increasing cluster max_shards_per_node to 5000...
{"acknowledged":true,"persistent":{"cluster":{"max_shards_per_node":"5000"}},"transient":{}}
2026-01-20 09:56:23 Cluster settings updated
2026-01-20 09:56:23 [6/9] Extracting index list...
2026-01-20 09:56:24 Index list extracted
2026-01-20 09:56:24 [8/9] FULL RESTORE PASS 1 — acm_*
{"accepted":true}
2026-01-20 09:56:29 [9/9] FULL RESTORE PASS 2 — non-acm
{"snapshot":{"snapshot":"snap_20251231_211154","indices":[],"shards":{"total":0,"failed":0,"successful":0}}}
2026-01-20 09:56:29 =========== SNAPSHOT RESTORED SUCCESSFULLY ===========
2026-01-20 09:56:29 Import directory: /var/backups/es_snapshots/import_20260120_093624
The changes are tested locally.
