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 2016/04/05 20:20:25 UTC

[jira] [Commented] (SOLR-8875) ZkStateWriter.writePendingUpdates() can return null clusterState; NPE in Overseer

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

ASF subversion and git services commented on SOLR-8875:
-------------------------------------------------------

Commit 3bbf8aaa8a9f57c43d64e9c361184c379d90b9c9 in lucene-solr's branch refs/heads/master from [~dsmiley]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=3bbf8aa ]

SOLR-8875: Fix null clusterState from ZkStateWriter. Revert my sanity check asserts in Overseer.


> ZkStateWriter.writePendingUpdates() can return null clusterState; 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
>         Attachments: SOLR-8875.patch
>
>
> 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