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

Mark Miller commented on SOLR-5502:
-----------------------------------

Hey Anshum, I'm seeing the following fail after applying the patch:

{noformat}
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=ShardRoutingTest 
-Dtests.method=testDistribSearch -Dtests.seed=3B53611D9EEA5A03 
-Dtests.slow=true -Dtests.locale=sq -Dtests.timezone=AET 
-Dtests.file.encoding=UTF-8
   [junit4] ERROR   37.2s J1 | ShardRoutingTest.testDistribSearch <<<
   [junit4]    > Throwable #1: 
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: 2
   [junit4]    >        at 
__randomizedtesting.SeedInfo.seed([3B53611D9EEA5A03:BAB5EF05E9B53A3F]:0)
   [junit4]    >        at 
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:491)
   [junit4]    >        at 
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:197)
   [junit4]    >        at 
org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:117)
   [junit4]    >        at 
org.apache.solr.cloud.AbstractFullDistribZkTestBase.indexDoc(AbstractFullDistribZkTestBase.java:620)
   [junit4]    >        at 
org.apache.solr.BaseDistributedSearchTestCase.index(BaseDistributedSearchTestCase.java:425)
   [junit4]    >        at 
org.apache.solr.cloud.ShardRoutingTest.doAddDoc(ShardRoutingTest.java:308)
   [junit4]    >        at 
org.apache.solr.cloud.ShardRoutingTest.doHashingTest(ShardRoutingTest.java:152)
   [junit4]    >        at 
org.apache.solr.cloud.ShardRoutingTest.doTest(ShardRoutingTest.java:123)
   [junit4]    >        at 
org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(BaseDistributedSearchTestCase.java:843)
   [junit4]    >        at java.lang.Thread.run(Thread.java:724)
{noformat}

> A "/" in the ID itself throws an ArrayIndexOutOfBoundsException when using 
> the composite id router
> --------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-5502
>                 URL: https://issues.apache.org/jira/browse/SOLR-5502
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 4.6
>            Reporter: Anshum Gupta
>            Assignee: Mark Miller
>             Fix For: 5.0, 4.7
>
>         Attachments: SOLR-5502.patch, SOLR-5502.patch
>
>
> While using the composite-id router, if the routing-id contains a "/" in the 
> id part, the code throws an ArrayIndexOutOfBoundsException.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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

Reply via email to