I'm testing a 1.7.5 migration to 5.1 using the reindex-from-remote upgrade path. I tried to use automatic slicing with the Reindex API.
curl -XPOST localhost:9200/_reindex?slices=24 -d '{
"source": {
"index": "index_name",
"remote": {
"host": "http://remote-es-cluster:9200"
}
},
"dest": {
"index": "index_name"
}
}'
{
"error": {
"reason": "Validation Failed: 1: reindex from remote sources doesn't support workers > 1 but was [24];",
"root_cause": [
{
"reason": "Validation Failed: 1: reindex from remote sources doesn't support workers > 1 but was [24];",
"type": "action_request_validation_exception"
}
],
"type": "action_request_validation_exception"
},
"status": 400
}
I previously used manual slicing successfully and I was looking forward to replacing that with auto slicing. Maybe I misunderstood and auto slicing was never supposed to work with reindex from remote? Any input would appreciated.