[ 
https://issues.apache.org/jira/browse/SOLR-5601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shalin Shekhar Mangar updated SOLR-5601:
----------------------------------------

    Attachment: SOLR-5601.patch

This should fix it. It was possible that the temp collection had been created 
(since we wait for it) but the leader hadn't been elected yet causing the NPE. 
We should use zkStateReader.getLeaderRetry for this.

> NPE in OverseerCollectionProcessor.migrateKey - inconsistent failure from 
> MigrateRouteKeyTest
> ---------------------------------------------------------------------------------------------
>
>                 Key: SOLR-5601
>                 URL: https://issues.apache.org/jira/browse/SOLR-5601
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 4.7
>            Reporter: Hoss Man
>             Fix For: 5.0, 4.7
>
>         Attachments: SOLR-5601.patch
>
>
> Encountered a weird _semi-reproducible_ failure from MigrateRouteKeyTest.... 
> {code}
> ant test  -Dtestcase=MigrateRouteKeyTest -Dtests.method=testDistribSearch 
> -Dtests.seed=26F9FF92782251B6 -Dtests.slow=true -Dtests.locale=sr_CS 
> -Dtests.timezone=Europe/Zaporozhye -Dtests.file.encoding=UTF-8
> {code}
> Attempting to reproduce with that line caused failures the first 2 times i 
> tried, and then succeeded every time after that.
> Details of failure to follow in comment.
> (NOTE: this may be related to some recent jenkins failures due to thread 
> leaks from this test)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to