Guest User

Untitled

a guest
May 15th, 2025
16
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. (python_env-3.9) (monolith) cchq@monolith:~/www/monolith/current$ ./manage.py elastic_sync_multiplexed start ${INDEX_CNAME}
  2. 2025-05-15 04:49:50,705 INFO [elastic_sync_multiplexed] Preparing index apps-2024-05-09 for reindex
  3. 2025-05-15 04:49:50,838 INFO [elastic_sync_multiplexed] Starting ReIndex process
  4. 2025-05-15 04:49:50,841 INFO [elastic_sync_multiplexed] Copying docs from index apps-20230524 to index apps-2024-05-09
  5.  
  6.  
  7.  
  8.  
  9. 2025-05-15 04:49:50,842 INFO [elastic_sync_multiplexed] -----------------IMPORTANT-----------------
  10. 2025-05-15 04:49:50,842 INFO [elastic_sync_multiplexed] TASK NUMBER - 1429
  11. 2025-05-15 04:49:50,842 INFO [elastic_sync_multiplexed] -------------------------------------------
  12. 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
  13.  
  14.  
  15.  
  16.  
  17. Looking for task with ID 'FPBZpy4EQd6pIh42hfgZUg:1429' running on 'es0'
  18. Progress 0.00% (0 / 1302). Elapsed time: 0:00:10. Estimated remaining time: (average since start = unknown) (recent average = ) Task ID: FPBZpy4EQd6pIh42hfgZUg:1429
  19. 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
  20.  
  21.  
  22.  
  23. 2025-05-15 04:50:10,892 INFO [elastic_sync_multiplexed] Performing required cleanup!
  24. 2025-05-15 04:50:10,892 INFO [elastic_sync_multiplexed] Deleting Tombstones From Secondary Index
  25.  
  26. Doc Count In Old Index 'apps-20230524' - 1302
  27.  
  28. Doc Count In New Index 'apps-2024-05-09' - 1302
  29.  
  30. 2025-05-15 04:50:10,918 INFO [elastic_sync_multiplexed] Verify this reindex process from elasticsearch logs using task id - FPBZpy4EQd6pIh42hfgZUg:1429
  31.  
  32.  
  33.  
  34. 2025-05-15 04:50:10,918 INFO [elastic_sync_multiplexed] You can use commcare-cloud to extract reindex logs from cluster
  35.  
  36. cchq monolith run-shell-command elasticsearch "grep '1429.*ReindexResponse' /opt/data/elasticsearch*/logs/*.log"
Advertisement
Add Comment
Please, Sign In to add comment