SolrCloud:基础文件被外力更改了吗?

时间:2018-09-19 15:37:48

标签: solr solrcloud

遇到问题,我无法在solrcloud中复制。似乎是随机发生的。

Underlying file changed by an external force at 2018-09-18T14:55:22Z, (lock=NativeFSLock(path=/path/to/my/shard/index/write.lock,impl=sun.nio.ch.FileLockImpl[0:9223372036854775807 exclusive valid],creationTime=2018-09-18T14:55:22.006973Z)) Caused by: org.apache.lucene.store.AlreadyClosedException: Underlying file changed by an external force at 2018-09-18T14:55:21Z,

索引是无模式的,通常会接收许多同时更新。

通常以以下内容开头:(在发生write.lock错误之前按此顺序)

Error from server at server3/solr/myshard: Bad Request
Remote error message: Exception writing document id bc04df6e-f29f-4091-ad73-f708a97d28b4 to the index; possible analysis error.
3 Async exceptions during distributed update:
Remote error message: this IndexWriter is closed

有没有办法从关闭索引编制器中自我恢复?发生错误后,不能再将其他文档写入集合中。我现在唯一的解决方案是删除write.lock并重新启动solr或完全重新创建集合。

0 个答案:

没有答案