You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Sami Siren (Created) (JIRA)" <ji...@apache.org> on 2012/01/27 13:08:40 UTC

[jira] [Created] (SOLR-3063) Bug in LeaderElectionIntgrationTest

Bug in LeaderElectionIntgrationTest
-----------------------------------

                 Key: SOLR-3063
                 URL: https://issues.apache.org/jira/browse/SOLR-3063
             Project: Solr
          Issue Type: Bug
          Components: SolrCloud
    Affects Versions: 4.0
            Reporter: Sami Siren
            Priority: Minor


#getLeader() tries to get leader props from stale zkStateReader (one that has not set watches).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Resolved] (SOLR-3063) Bug in LeaderElectionIntgrationTest

Posted by "Mark Miller (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller resolved SOLR-3063.
-------------------------------

    Resolution: Fixed
    
> Bug in LeaderElectionIntgrationTest
> -----------------------------------
>
>                 Key: SOLR-3063
>                 URL: https://issues.apache.org/jira/browse/SOLR-3063
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 4.0
>            Reporter: Sami Siren
>            Assignee: Mark Miller
>            Priority: Minor
>         Attachments: SOLR-3063.patch
>
>
> #getLeader() tries to get leader props from stale zkStateReader (one that has not set watches).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Commented] (SOLR-3063) Bug in LeaderElectionIntgrationTest

Posted by "Sami Siren (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13195606#comment-13195606 ] 

Sami Siren commented on SOLR-3063:
----------------------------------

I see the following stacktrace when this bug is triggered:

{code}
java.lang.RuntimeException: No registered leader was found, collection:collection1 slice:shard1
	at org.apache.solr.common.cloud.ZkStateReader.getLeaderProps(ZkStateReader.java:408)
	at org.apache.solr.cloud.LeaderElectionIntegrationTest.getLeader(LeaderElectionIntegrationTest.java:221)
	at org.apache.solr.cloud.LeaderElectionIntegrationTest.testSimpleSliceLeaderElection(LeaderElectionIntegrationTest.java:153)
	at org.apache.lucene.util.LuceneTestCase$3$1.evaluate(LuceneTestCase.java:529)
	at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:165)
	at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:57)
{code}
                
> Bug in LeaderElectionIntgrationTest
> -----------------------------------
>
>                 Key: SOLR-3063
>                 URL: https://issues.apache.org/jira/browse/SOLR-3063
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 4.0
>            Reporter: Sami Siren
>            Priority: Minor
>         Attachments: SOLR-3063.patch
>
>
> #getLeader() tries to get leader props from stale zkStateReader (one that has not set watches).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (SOLR-3063) Bug in LeaderElectionIntgrationTest

Posted by "Sami Siren (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sami Siren updated SOLR-3063:
-----------------------------

    Attachment: SOLR-3063.patch

patch
                
> Bug in LeaderElectionIntgrationTest
> -----------------------------------
>
>                 Key: SOLR-3063
>                 URL: https://issues.apache.org/jira/browse/SOLR-3063
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 4.0
>            Reporter: Sami Siren
>            Priority: Minor
>         Attachments: SOLR-3063.patch
>
>
> #getLeader() tries to get leader props from stale zkStateReader (one that has not set watches).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (SOLR-3063) Bug in LeaderElectionIntgrationTest

Posted by "Mark Miller (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller updated SOLR-3063:
------------------------------

    Assignee: Mark Miller
    
> Bug in LeaderElectionIntgrationTest
> -----------------------------------
>
>                 Key: SOLR-3063
>                 URL: https://issues.apache.org/jira/browse/SOLR-3063
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 4.0
>            Reporter: Sami Siren
>            Assignee: Mark Miller
>            Priority: Minor
>         Attachments: SOLR-3063.patch
>
>
> #getLeader() tries to get leader props from stale zkStateReader (one that has not set watches).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Commented] (SOLR-3063) Bug in LeaderElectionIntgrationTest

Posted by "Mark Miller (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13195665#comment-13195665 ] 

Mark Miller commented on SOLR-3063:
-----------------------------------

committed - thanks Sami!
                
> Bug in LeaderElectionIntgrationTest
> -----------------------------------
>
>                 Key: SOLR-3063
>                 URL: https://issues.apache.org/jira/browse/SOLR-3063
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 4.0
>            Reporter: Sami Siren
>            Priority: Minor
>         Attachments: SOLR-3063.patch
>
>
> #getLeader() tries to get leader props from stale zkStateReader (one that has not set watches).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org