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:
Mark Robert Miller 2012-08-03 17:18:00 +00:00
parent 577b895dd4
commit 92c1125331
1 changed files with 1 additions and 1 deletions

View File

@ -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++;