I am currently trying to reindex an existing index into a new index with an updated schema. The issue i'm having is that the reindexing process gives up reindexing my ~2.5m index after about ~0.5m (give or take. it's inconsistent). To be clear, I don't mean that the request times out, but even if I provide the ?wait_for_completion=false flag the reindexing task it self ends prematurely. I've already asked this question on SO but I'm going to ask it here as well as this might be the better place to ask these sorts of questions.
My elasticsearch cluster is hosted on AWS but as far as I can tell no errors are given. I've tried the different options in the reindexing endpoint but none have made a difference. I've tried reindexing into the new schema as well as reindex into the very same schema as the existing index.
The request I'm making is this-
POST /_reindex?wait_for_completion=false
{
"source": {
"index": "users_v1"
},
"dest": {
"index": "users_v2"
}
}
Despite the v1/v2 in the example, this is actually a reindex from v8 to v9- so i've done this 7 times already successfully.
Am I hitting resources limits? Could it be a single poison-pill document? How do I go about debugging this when no errors are given?