简体   繁体   English

严重UpdateLog在Solr中检查tlog tlog时出错

[英]SEVERE UpdateLog Error inspecting tlog tlog in Solr

I am using solr cloud with 2 nodes in production. 我正在生产中使用具有2个节点的solr cloud。 Solr stopped accepting writes , this it the error i get in the master node. Solr停止接受写入,这是我在主节点中遇到的错误。

SEVERE  UpdateLog   Error inspecting tlog tlog{file=/var/lib/solr/core_0/data/tlog/tlog.0000000000001264986 refcount=2}
WARNING     SolrCore    [core_1] PERFORMANCE WARNING: Overlapping onDeckSearchers=2
SEVERE  SolrCmdDistributor  forwarding update to http://Solr02:8983/solr/core_1/ failed - retrying ...
SEVERE  SolrCore    java.lang.StringIndexOutOfBoundsException: String index out of range: -1

Check your tlogs, sometimes when you don't commit for a long time tlogs become huge, you need to commit to free them, maybe you add documents with softCommit true, or maybe your autocommit & autosoftcommit config values aren't good in your case. 检查您的日志,有时当您长时间不提交日志时,您需要提交以释放它们,也许您添加带有softCommit true的文档,或者您的autocommit和autosoftcommit配置值对您而言不是很好。 These links can help you understand more : 这些链接可以帮助您了解更多信息:

http://lucidworks.com/blog/understanding-transaction-logs-softcommit-and-commit-in-sorlcloud/ http://lucidworks.com/blog/understanding-transaction-logs-softcommit-and-commit-in-sorlcloud/

SOLR autoCommit vs autoSoftCommit SOLR自动提交与autoSoftCommit

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM