[英]Solr CDCR || CdcrReplicator Log reader for target collection1 is not initialised, it will be ignored
[英]Solr CDCR (cross data center replication) target and its commits
Solr CDCR 目標集群如何處理提交? 提交設置與 CDCR 源上的相同,其中 Solr 管理 UI 幾乎沒有任何延遲地顯示新索引的文檔。 兩個設置都是
<autoCommit>
<maxTime>${solr.autoCommit.maxTime:15000}</maxTime>
<openSearcher>false</openSearcher>
</autoCommit>
<autoSoftCommit>
<maxTime>${solr.autoSoftCommit.maxTime:-1}</maxTime>
</autoSoftCommit>
據我所知, ${solr*maxTime}
設置。 (無論如何,我有點驚訝,考慮到設置,我在源集群上建立索引后不久就看到了結果:-(
然而,在目標集群上,我似乎從未得到過提交,當然不會像默認值那樣在 15 秒內提交。 我知道數據是可用的,因為它在手動提交后立即出現。
知道如何配置目標以實際執行任何提交嗎?
我面臨同樣的問題。 將 softcommit 添加到 15s 幫助了我:
curl -X POST -H 'Content-type: application/json' -d '{"set-property":{"updateHandler.autoSoftCommit.maxTime":1500}}' http://localhost:8983/solr/<yourcollection>/config
我在一些論壇中發現重啟服務器的提示,沒有幫助我。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.