Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (python_env-3.9) (monolith) cchq@monolith:~/www/monolith/current$ ./manage.py elastic_sync_multiplexed start ${INDEX_CNAME}
- 2025-05-15 04:49:50,705 INFO [elastic_sync_multiplexed] Preparing index apps-2024-05-09 for reindex
- 2025-05-15 04:49:50,838 INFO [elastic_sync_multiplexed] Starting ReIndex process
- 2025-05-15 04:49:50,841 INFO [elastic_sync_multiplexed] Copying docs from index apps-20230524 to index apps-2024-05-09
- 2025-05-15 04:49:50,842 INFO [elastic_sync_multiplexed] -----------------IMPORTANT-----------------
- 2025-05-15 04:49:50,842 INFO [elastic_sync_multiplexed] TASK NUMBER - 1429
- 2025-05-15 04:49:50,842 INFO [elastic_sync_multiplexed] -------------------------------------------
- 2025-05-15 04:49:50,842 INFO [elastic_sync_multiplexed] Save this Task Number, You will need it later for verifying your reindex process
- Looking for task with ID 'FPBZpy4EQd6pIh42hfgZUg:1429' running on 'es0'
- Progress 0.00% (0 / 1302). Elapsed time: 0:00:10. Estimated remaining time: (average since start = unknown) (recent average = ) Task ID: FPBZpy4EQd6pIh42hfgZUg:1429
- Progress 100.00% (1302 / 1302). Elapsed time: 0:00:14. Estimated remaining time: (average since start = 0:00:00) (recent average = ) Task ID: FPBZpy4EQd6pIh42hfgZUg:1429
- 2025-05-15 04:50:10,892 INFO [elastic_sync_multiplexed] Performing required cleanup!
- 2025-05-15 04:50:10,892 INFO [elastic_sync_multiplexed] Deleting Tombstones From Secondary Index
- Doc Count In Old Index 'apps-20230524' - 1302
- Doc Count In New Index 'apps-2024-05-09' - 1302
- 2025-05-15 04:50:10,918 INFO [elastic_sync_multiplexed] Verify this reindex process from elasticsearch logs using task id - FPBZpy4EQd6pIh42hfgZUg:1429
- 2025-05-15 04:50:10,918 INFO [elastic_sync_multiplexed] You can use commcare-cloud to extract reindex logs from cluster
- cchq monolith run-shell-command elasticsearch "grep '1429.*ReindexResponse' /opt/data/elasticsearch*/logs/*.log"
Advertisement
Add Comment
Please, Sign In to add comment