You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Chris M. Hostetter (Jira)" <ji...@apache.org> on 2020/02/11 01:10:00 UTC

[jira] [Reopened] (SOLR-14245) Validate Replica / ReplicaInfo on creation

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

Chris M. Hostetter reopened SOLR-14245:
---------------------------------------

we're seeing a spike in (reproducible) jenkins failures for ReplicaListTransformerTest.testTransform that corrispond with the commits on this issue...

 
{noformat}

    [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=ReplicaListTransformerTest -Dtests.method=testTransform -Dtests.seed=51F4546B22050419 -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=saq -Dtests.timezone=Asia/Omsk -Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1
   [junit4] FAILURE 0.01s J2 | ReplicaListTransformerTest.testTransform <<<
   [junit4]    > Throwable #1: java.lang.AssertionError: expected:<1> but was:<2>
   [junit4]    >        at __randomizedtesting.SeedInfo.seed([51F4546B22050419:5B1FFCC907E1DD14]:0)
   [junit4]    >        at org.apache.solr.client.solrj.routing.ReplicaListTransformerTest.testTransform(ReplicaListTransformerTest.java:144)
   [junit4]    >        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [junit4]    >        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   [junit4]    >        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   [junit4]    >        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
   [junit4]    >        at java.base/java.lang.Thread.run(Thread.java:834)
{noformat}

> Validate Replica / ReplicaInfo on creation
> ------------------------------------------
>
>                 Key: SOLR-14245
>                 URL: https://issues.apache.org/jira/browse/SOLR-14245
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrCloud
>            Reporter: Andrzej Bialecki
>            Assignee: Andrzej Bialecki
>            Priority: Minor
>             Fix For: 8.5
>
>
> Replica / ReplicaInfo should be immutable and their fields should be validated on creation.
> Some users reported that very rarely during a failed collection CREATE or DELETE, or when the Overseer task queue becomes corrupted, Solr may write to ZK incomplete replica infos (eg. node_name = null).
> This problem is difficult to reproduce but we should add safeguards anyway to prevent writing such corrupted replica info to ZK.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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