mirror of https://github.com/apache/lucene.git
add logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369103 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
577b895dd4
commit
92c1125331
|
@ -546,7 +546,7 @@ public final class ZkController {
|
||||||
if (tries == 60) {
|
if (tries == 60) {
|
||||||
throw new SolrException(ErrorCode.SERVER_ERROR,
|
throw new SolrException(ErrorCode.SERVER_ERROR,
|
||||||
"There is conflicting information about the leader of shard: "
|
"There is conflicting information about the leader of shard: "
|
||||||
+ cloudDesc.getShardId());
|
+ cloudDesc.getShardId() + " our state says:" + leaderUrl + " but zookeeper says:" + cloudStateLeader);
|
||||||
}
|
}
|
||||||
Thread.sleep(1000);
|
Thread.sleep(1000);
|
||||||
tries++;
|
tries++;
|
||||||
|
|
Loading…
Reference in New Issue