I am trying to reindex from ES version 2.4.1 to ES version 6.6.0.
I have some 5 indices. out of 5 one index is partially migrated.
Re-index output:
```
{
"took" : 6207,
"timed_out" : false,
"total" : 50396,
"updated" : 0,
"created" : 999,
"deleted" : 0,
"batches" : 1,
"version_conflicts" : 0,
"noops" : 0,
"retries" : {
"bulk" : 0,
"search" : 0
},
"throttled_millis" : 0,
"requests_per_second" : -1.0,
"throttled_until_millis" : 0,
"failures" : [
{
"index" : "metrics-2020.04-10",
"type" : "metric",
"id" : "AXE2XOGKvo5uCf5dkULy",
"cause" : {
"type" : "illegal_argument_exception",
"reason" : "mapper [p_id] cannot be changed from type [long] to [double]"
},
"status" : 400
}
]
}
```
Mapping:
Data type for field "p_id" is "long" in both the versions
Then i tried to reIndex the failed index again, it's succeeded.
I am wondering why it's failed first time. Can someone please help me to understand this.
Thanks