lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Blum (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-8875) ZkStateWriter.writePendingUpdates() can return null CollectionState; NPE in Overseer
Date Mon, 28 Mar 2016 23:58:25 GMT

    [ https://issues.apache.org/jira/browse/SOLR-8875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15215116#comment-15215116
] 

Scott Blum commented on SOLR-8875:
----------------------------------

Hi David,

Can you give me a little more detail on how to repro?

I checked out fd9c4d59e8dbe0e9fbd99a40ed2ff746c1ae7a0c then ran TestCloudBackupRestore with
-ea, and it passed for me.  Do I need to run it a bunch of times to see the problem?


> ZkStateWriter.writePendingUpdates() can return null CollectionState; NPE in Overseer
> ------------------------------------------------------------------------------------
>
>                 Key: SOLR-8875
>                 URL: https://issues.apache.org/jira/browse/SOLR-8875
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>            Reporter: David Smiley
>
> While trying to get the test in Varun's patch in SOLR-5750 (SolrCloud collection backup
& restore) to succeed, I kept hitting an NPE in Overseer in which clusterState was null.
 I added a bunch of asserts and found where it was happening which I worked around temporarily.
 See https://github.com/apache/lucene-solr/commit/fd9c4d59e8dbe0e9fbd99a40ed2ff746c1ae7a0c#diff-9ed614eee66b9e685d73446b775dc043R247
which is ZkStateWriter.writePendingUpdates() returning null, overwriting the current non-null
clusterState.  This happens nearly every time for me when I run that test.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message