ZBLOG

Elasticsearch exception [type=version_conflict_engine_exception, reason=[1_148_320_11989452]: version conflict, required seqNo [10505722], primary term [1]. current document has seqNo [10505979] and primary term [1]]

This is an exception that occurs when there is a conflict between different versions of the same document in Elasticsearch. In this case, the error message indicates that there are two versions of the same document with different sequence numbers (seqNo) and primary terms.

The seqNo is a unique identifier assigned to each update operation performed on a document, while the primary term is used to prevent conflicts between multiple nodes in a distributed cluster. When two updates are performed simultaneously on the same document, Elasticsearch uses the seqNo and primary term to determine which update should be applied first.

In this case, the required seqNo and primary term indicate the version that was expected to be updated, but the current document has a different seqNo and primary term, indicating that it has already been updated by another process. To resolve this conflict, you will need to either retry the update operation or perform a new search to get the latest version of the document before making any changes.

本站部分文章来源于网络,版权归原作者所有,如有侵权请联系站长删除。
转载请注明出处:https://golang.0voice.com/?id=1486

分享:
扫描分享到社交APP
上一篇
下一篇
发表列表
游客 游客
此处应有掌声~
评论列表

还没有评论,快来说点什么吧~

联系我们

在线咨询: 点击这里给我发消息

微信号:3007537140

上班时间: 10:30-22:30

关注我们
x

注册

已经有帐号?