[
https://issues.apache.org/jira/browse/SOLR-9034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15339649#comment-15339649
]
Steve Rowe commented on SOLR-9034:
----------------------------------
Another reproducing branch_5_5 seed for {{TestNRTOpen.testSharedCores()}}
[http://jenkins.thetaphi.de/job/Lucene-Solr-5.5-Linux/310/consoleText]:
{noformat}
Checking out Revision c6b9ac065571718e7e92174fa7e2a927583012fa
(refs/remotes/origin/branch_5_5)
[...]
[junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestNRTOpen
-Dtests.method=testSharedCores -Dtests.seed=A2B2DA22BF73E3AF
-Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=es-HN
-Dtests.timezone=Libya -Dtests.asserts=true -Dtests.file.encoding=UTF-8
[junit4] FAILURE 0.49s J1 | TestNRTOpen.testSharedCores <<<
[junit4] > Throwable #1: java.lang.AssertionError: expected:<3> but
was:<1>
[junit4] > at
__randomizedtesting.SeedInfo.seed([A2B2DA22BF73E3AF:44B1906D3785CEA0]:0)
[junit4] > at
org.apache.solr.core.TestNRTOpen.testSharedCores(TestNRTOpen.java:116)
{noformat}
But this seed continues to fail even when I rollback to the commit prior to
this issue's branch_5_5 commit. Also, when I run the test on my box the
failure point and cause are different - this is on branch_5_5 at the SOLR-9034
commit point on branch_5_5 (7777599):
{noformat}
[junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestNRTOpen
-Dtests.method=testSharedCores -Dtests.seed=A2B2DA22BF73E3AF
-Dtests.multiplier=3 -Dtests.slow=true
-Dtests.linedocsfile=/home/jenkins/lucene-data/enwiki.random.lines.txt
-Dtests.locale=es-HN -Dtests.timezone=Libya -Dtests.asserts=true
-Dtests.file.encoding=UTF-8
[junit4] FAILURE 0.27s | TestNRTOpen.testSharedCores <<<
[junit4] > Throwable #1: java.lang.AssertionError:
expected:<[org.apache.lucene.index.SegmentCoreReaders@6cda66e6,
org.apache.lucene.index.SegmentCoreReaders@37203df2,
org.apache.lucene.index.SegmentCoreReaders@49f95cf6]> but
was:<[org.apache.lucene.index.SegmentCoreReaders@345238b3]>
[junit4] > at
__randomizedtesting.SeedInfo.seed([A2B2DA22BF73E3AF:44B1906D3785CEA0]:0)
[junit4] > at
org.apache.solr.core.TestNRTOpen.testSharedCores(TestNRTOpen.java:124)
{noformat}
So it looks like the other seed succeeds earlier than the SOLR-9034 commit for
indirect reasons. I'll poke around some more.
> Atomic updates not work with CopyField
> --------------------------------------
>
> Key: SOLR-9034
> URL: https://issues.apache.org/jira/browse/SOLR-9034
> Project: Solr
> Issue Type: Bug
> Components: Server
> Affects Versions: 5.5
> Reporter: Karthik Ramachandran
> Assignee: Yonik Seeley
> Labels: atomicupdate
> Fix For: 5.6, 6.0.1, 6.1, 5.5.2
>
> Attachments: SOLR-9034.patch, SOLR-9034.patch, SOLR-9034.patch
>
>
> Atomic updates does not work when CopyField has docValues enabled. Below is
> the sample schema
> {code:xml|title:schema.xml}
> <field name="single_i_dvn" multiValued="false" type="int"
> indexed="true" stored="true" />
> <field name="single_d_dvn" multiValued="false" type="double"
> indexed="true" stored="true" />
> <field name="single_s_dvn" multiValued="false" type="string"
> indexed="true" stored="true" />
> <field name="copy_single_i_dvn" multiValued="false" type="int"
> docValues="true" indexed="true" stored="false" useDocValuesAsStored="false" />
> <field name="copy_single_d_dvn" multiValued="false" type="double"
> docValues="true" indexed="true" stored="false" useDocValuesAsStored="false" />
> <field name="copy_single_s_dvn" multiValued="false" type="string"
> docValues="true" indexed="true" stored="false" useDocValuesAsStored="false" />
> {code}
> Below is the exception
> {noformat}
> Caused by: java.lang.IllegalArgumentException: DocValuesField
> "copy_single_i_dvn" appears more than once in this document
> (only one value is allowed per field)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]