Does the .tasks index still exist in ES 8 and beyond?

Hi,

We are in the process of migrating our ES 7 to ES 8. The Java application that connects to the elasticsearch had a job that periodically removed all documents from the system .tasks index where the completed flag is true. From my understanding, the .tasks index was populated with records when for example a deleteByQuery was issued without waiting for the result.
It looks like this index does not exist anymore in ES8 as executing http://localhost:9200/.tasks/_search returns a response with index_not_found_exception. (even after a deleteByQuery was triggered).

Can you confirm if the index no longer exists? If so, that would mean I could remove the job entirely from the application.

It still exists even in 9.x. But since 8.0 (and later versions of 7) it has been a system index, so I don’t think that you’ll be able to delete from it. Elasticsearch ought to be managing what is in there.

Great, thanks for the pointer! Then I believe we can safely get rid of the job that removes completed tasks.

1 Like