ClusterReindexingService is stuck in a loop if task was lost
This issue was reported by a customer.
If during the reindexing process elasticsearch cluster failed for some reason, the reindexing process will stuck in a loop. The main issue with this is that indexing will remain paused and self-managed admin won't be able to trigger another reindexing.
When trying to load such reindexing task info we receive 404
$ curl -XGET 'http://localhost:9200/_tasks/-bRdhZ5ZT421rVk6JJLJ0w:37882'
{"error":{"root_cause":[{"type":"resource_not_found_exception","reason":"task [-bRdhZ5ZT421rVk6JJLJ0w:37882] isn't running and hasn't stored its results"}],"type":"resource_not_found_exception","reason":"task [-bRdhZ5ZT421rVk6JJLJ0w:37882] isn't running and hasn't stored its results"},"status":404}
Edited by Dmitry Gruzd