# Elasticsearch reindex index\_format\_too\_old\_exception

**URL:** <https://discuss.elastic.co/t/elasticsearch-reindex-index-format-too-old-exception/138112>\
**Category:** Elasticsearch\
**Created:** [July 2, 2018, 3:30am UTC](https://discuss.elastic.co/t/elasticsearch-reindex-index-format-too-old-exception/138112 "2018-07-02T03:30:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![piingluo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/piingluo/32/26051_2.png) [@piingluo](https://discuss.elastic.co/u/piingluo)\
**Post date:** [July 2, 2018, 3:30am UTC](https://discuss.elastic.co/t/elasticsearch-reindex-index-format-too-old-exception/138112/1 "2018-07-02T03:30:52Z")

</div>

hi all，  
I use reindex API in the same es cluster, i use \_cluster/allocation API， and then get the result, as follow:

```auto
{
  "index" : "logstash-device-vfw-2018.06.09-copy",
  "shard" : 0,
  "primary" : true,
  "current_state" : "unassigned",
  "unassigned_info" : {
    "reason" : "ALLOCATION_FAILED",
    "at" : "2018-07-02T02:18:15.346Z",
    "failed_allocation_attempts" : 1,
    "details" : "failed shard on node [Kkz6A5vPQkmBNjX2TBZSvQ]: shard failure, reason [recovery], failure CorruptIndexException[codec footer mismatch (file truncated?): actual footer=892697649 vs expected footer=-1071082520 (resource=MMapIndexInput(path=\"/elasticsearch/data/elasticsearch/nodes/0/indices/cWOUDAKEQ7uI8U9U_1us5A/0/index/_a_Lucene50_0.tip\"))]",
    "last_allocation_status" : "no_valid_shard_copy"
  },
  "can_allocate" : "no_valid_shard_copy",
  "allocate_explanation" : "cannot allocate because all found copies of the shard are either stale or corrupt",
  "node_allocation_decisions" : [
    {
      "node_id" : "BMTSzYBXTzqyXg_Vj1Y9CQ",
      "node_name" : "node-1",
      "transport_address" : "192.168.3.1:9300",
      "node_decision" : "no",
      "store" : {
        "in_sync" : false,
        "allocation_id" : "bhri0MOnS2qxcmpLZNJB6Q",
        "store_exception" : {
          "type" : "corrupt_index_exception",
          "reason" : "Format version is not supported (resource BufferedChecksumIndexInput(MMapIndexInput(path=\"/elasticsearch/data/elasticsearch/nodes/0/indices/cWOUDAKEQ7uI8U9U_1us5A/0/index/segments_3\"))): 577599859 (needs to be between 1071082519 and 1071082519). This version of Lucene only supports indexes created with release 6.0 and later. (resource=preexisting_corruption)",
          "caused_by" : {
            "type" : "index_format_too_old_exception",
            "reason" : "Format version is not supported (resource BufferedChecksumIndexInput(MMapIndexInput(path=\"/elasticsearch/data/elasticsearch/nodes/0/indices/cWOUDAKEQ7uI8U9U_1us5A/0/index/segments_3\"))): 577599859 (needs to be between 1071082519 and 1071082519). This version of Lucene only supports indexes created with release 6.0 and later."
          }
        }
      }
    },
    {
      "node_id" : "Kkz6A5vPQkmBNjX2TBZSvQ",
      "node_name" : "node-2",
      "transport_address" : "192.168.3.2:9300",
      "node_decision" : "no",
      "store" : {
        "in_sync" : true,
        "allocation_id" : "Xr_ypCxxQbW-scEoYhOFzw",
        "store_exception" : {
          "type" : "corrupt_index_exception",
          "reason" : "codec footer mismatch (file truncated?): actual footer=892697649 vs expected footer=-1071082520 (resource=MMapIndexInput(path=\"/elasticsearch/data/elasticsearch/nodes/0/indices/cWOUDAKEQ7uI8U9U_1us5A/0/index/_a_Lucene50_0.tip\"))"
        }
      }
    },
    {
      "node_id" : "jV_eh8lZSO-z6O8AQlShqQ",
      "node_name" : "node-3",
      "transport_address" : "192.168.3.3:9300",
      "node_decision" : "no",
      "store" : {
        "in_sync" : false,
        "allocation_id" : "2SVTq1X-QpeKH-SsMtQC6w",
        "store_exception" : {
          "type" : "file_not_found_exception",
          "reason" : "no segments* file found in SimpleFSDirectory@/elasticsearch/data/elasticsearch/nodes/0/indices/cWOUDAKEQ7uI8U9U_1us5A/0/index lockFactory=org.apache.lucene.store.NativeFSLockFactory@48b68c50: files: [write.lock]"
        }
      }
    }
  ]
}

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 30, 2018, 3:30am UTC](https://discuss.elastic.co/t/elasticsearch-reindex-index-format-too-old-exception/138112/2 "2018-07-30T03:30:56Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
