You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/05/06 20:13:37 UTC
[jira] [Commented] (SOLR-5993) ZkController can warn about shard
leader conflict after conflict resolved
[ https://issues.apache.org/jira/browse/SOLR-5993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13990917#comment-13990917 ]
ASF subversion and git services commented on SOLR-5993:
-------------------------------------------------------
Commit 1592821 from hossman@apache.org in branch 'dev/branches/lucene_solr_4_8'
[ https://svn.apache.org/r1592821 ]
Merge back several "low hanging" bug fixes into the 4.8 branch...
SOLR-6029: r1590867
SOLR-6030: r1591555
SOLR-6037: r1591800
SOLR-6023: r1592195
SOLR-5090: r1592591
SOLR-6039: r1592605
SOLR-5993: r1588415
SOLR-5904: r1587702
> ZkController can warn about shard leader conflict after conflict resolved
> -------------------------------------------------------------------------
>
> Key: SOLR-5993
> URL: https://issues.apache.org/jira/browse/SOLR-5993
> Project: Solr
> Issue Type: Bug
> Components: SolrCloud
> Affects Versions: 4.7.1, 4.8, 5.0
> Reporter: Gregory Chanan
> Assignee: Shalin Shekhar Mangar
> Priority: Trivial
> Fix For: 4.9, 5.0
>
> Attachments: SOLR-5993.patch
>
>
> If the clusterState and ZK disagree about the shard leader for awhile, a warning is printed to the log here:
> {code}
> String warnMsg = String.format(Locale.ENGLISH, "Still seeing conflicting information about the leader "
> + "of shard %s for collection %s after %d seconds; our state says %s, but ZooKeeper says %s",
> cloudDesc.getShardId(), collection, tries, clusterStateLeaderUrl, leaderUrl);
> {code}
> The issue is that the clusterStateLeaderUrl and leaderUrl are updated but not checked before the warning, so a warning can be printed to the log saying something like:
> our state says localhost:9893_solr but ZooKeeper says localhost:9893_solr
> which is confusing because there is no conflict.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org