首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > 云计算 >

solrCloud 推选leader的bug

2012-12-23 
solrCloud 选举leader的bugINFO: Waiting until we see more replicas up: total3 found1 timeoutin171

solrCloud 选举leader的bug

INFO: Waiting until we see more replicas up: total=3 found=1 timeoutin=171467Dec 19, 2012 10:14:40 AM org.apache.solr.cloud.ShardLeaderElectionContext waitForReplicasToComeUpINFO: Waiting until we see more replicas up: total=3 found=1 timeoutin=170965Dec 19, 2012 10:14:41 AM org.apache.solr.cloud.ShardLeaderElectionContext waitForReplicasToComeUpINFO: Waiting until we see more replicas up: total=3 found=1 timeoutin=170463Dec 19, 2012 10:14:41 AM org.apache.solr.cloud.ShardLeaderElectionContext waitForReplicasToComeUpINFO: Waiting until we see more replicas up: total=3 found=1 timeoutin=169961


你可以只接受3分钟的等待,您也可以降低等待3分钟(如10秒或0秒)


配置选举等待时间:

在solr.xml上配置:

leaderVoteWait="${leaderVoteWait:20000}"


<?xml version="1.0" encoding="UTF-8" ?>

<solr persistent="true">

  <cores defaultCoreName="video_shard1" adminPath="/admin/cores" zkClientTimeout="${zkClientTimeout:1500}" hostPort="${jetty.port:}" hostContext="solr" leaderVoteWait="${leaderVoteWait:20000}">


  </cores>

</solr>




热点排行