要不要也来分享分享一下啊

elasticsearch merge偶现错误

Elasticsearch | 作者 LinhaoZhu | 发布于2020年07月06日 | 阅读数:1581

[WARN ][o.e.c.a.s.ShardStateAction] [127.0.0.1] [dw-2020.21.1][25] received shard failed for shard id [[dw-2020.21.1][25]], allocation id [KRughLIcQ0ePlvddMzPjkA], primary term [0], message [shard failure, reason [merge failed]], failure [NotSerializableExceptionWrapper[merge_exception: org.apache.lucene.index.CorruptIndexException: docs out of order (554 <= 554 ) (resource=RateLimitedIndexOutput(FSIndexOutput(path="/data/nodes/0/indices/dRZYgklYRkKM4L9n6zvvJA/25/index/_zwn_Lucene50_0.doc")))]; nested: CorruptIndexException[docs out of order (554 <= 554 ) (resource=RateLimitedIndexOutput(FSIndexOutput(path="/data/nodes/0/indices/dRZYgklYRkKM4L9n6zvvJA/25/index/_zwn_Lucene50_0.doc")))]; ]
org.elasticsearch.common.io.stream.NotSerializableExceptionWrapper: merge_exception: org.apache.lucene.index.CorruptIndexException: docs out of order (554 <= 554 ) (resource=RateLimitedIndexOutput(FSIndexOutput(path="/data/nodes/0/indices/dRZYgklYRkKM4L9n6zvvJA/25/index/_zwn_Lucene50_0.doc")))
at org.elasticsearch.index.engine.InternalEngine$EngineMergeScheduler$2.doRun(InternalEngine.java:1564) ~[elasticsearch-5.6.12.jar:5.6.12]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:675) ~[elasticsearch-5.6.12.jar:5.6.12]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) ~[elasticsearch-5.6.12.jar:5.6.12]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[?:1.8.0_131]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[?:1.8.0_131]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
Caused by: org.apache.lucene.index.CorruptIndexException: docs out of order (554 <= 554 ) (resource=RateLimitedIndexOutput(FSIndexOutput(path="/data/nodes/0/indices/dRZYgklYRkKM4L9n6zvvJA/25/index/_zwn_Lucene50_0.doc")))
at org.apache.lucene.codecs.lucene50.Lucene50PostingsWriter.startDoc(Lucene50PostingsWriter.java:225) ~[lucene-core-6.6.1.jar:6.6.1 9aa465a89b64ff2dabe7b4d50c472de32c298683 - varunthacker - 2017-08-29 21:54:39]
已邀请:

tacsklet - 公司有用到es

赞同来自:

这个在索引不一致的时候merge会提示,应该没啥影响。

要回复问题请先登录注册