Elasticsearch reindex index_format_too_old_exception

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

{
  "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]"
        }
      }
    }
  ]
}

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