I relaunch the reindex now with another size of batch
nohup curl -XPOST http://ip:9200/_reindex -d '{ "source": { "index": "origin", "size": 50000 }, "dest": {"index": "dest", "op_type": "create" }}' &> reindex_50000.out
But now, i can see this error:
{"took":"2h","timed_out":false,"total":25853780,"updated":0,"created":25700000,"batches":514,"version_conflicts":0,"noops":0,"retries":0,"failures":[{"shard":-1,"index":null,"reason":{"type":"search_context_missing_exception","reason":"No search context found for id [32]"}},{"shard":-1,"index":null,"reason":{"type":"search_context_missing_exception","reason":"No search context found for id [43]"}},{"shard":-1,"index":null,"reason":{"type":"search_context_missing_exception","reason":"No search context found for id [42]"}},{"shard":-1,"index":null,"reason":{"type":"search_context_missing_exception","reason":"No search context found for id [33]"}},{"shard":-1,"index":null,"reason":{"type":"search_context_missing_exception","reason":"No search context found for id [34]"}},{"shard":-1,"index":null,"reason":{"type":"search_context_missing_exception","reason":"No search context found for id [44]"}},{"shard":-1,"index":null,"reason":{"type":"search_context_missing_exception","reason":"No search context found for id [36]"}},{"shard":-1,"index":null,"reason":{"type":"search_context_missing_exception","reason":"No search context found for id [37]"}}]}
So, that's the reason why We are loosing batches... It's possible we need more timeout_time... Is this possible ? Thanks !!!