org.elasticsearch.index.gateway.IndexShardGatewayRecoveryException: [logstash-2015.04.21][4] failed to recover shard

Stack Overflow | RayofCommand | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    SearchPhaseExecutionException[Failed to execute phase [query], all shards failed]

    Stack Overflow | 2 years ago | RayofCommand
    org.elasticsearch.index.gateway.IndexShardGatewayRecoveryException: [logstash-2015.04.21][4] failed to recover shard

    Root Cause Analysis

    1. org.elasticsearch.ElasticsearchIllegalArgumentException

      No version type match [52]

      at org.elasticsearch.index.VersionType.fromValue()
    2. ElasticSearch
      LocalIndexShardGateway.recover
      1. org.elasticsearch.index.VersionType.fromValue(VersionType.java:307)
      2. org.elasticsearch.index.translog.Translog$Create.readFrom(Translog.java:364)
      3. org.elasticsearch.index.translog.TranslogStreams.readTranslogOperation(TranslogStreams.java:52)
      4. org.elasticsearch.index.gateway.local.LocalIndexShardGateway.recover(LocalIndexShardGateway.java:241)
      4 frames