[
https://issues.apache.org/jira/browse/SOLR-10251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15901683#comment-15901683
]
Hoss Man commented on SOLR-10251:
---------------------------------
A few misc observations...
* this line is comparing the commits on master _now_ to the commits on master
just prior to a core reload
** so failure has nothing to do with replicaiton
** Looks like a merge is happening before/after reload -- but before test gets
list of commits?
*** Possible from RandomMergePolicy?
* At this line where this test fails, a non-nightly run won't have indexed a
single doc -- so this particular failure will only be observable with
{{-Dtests.nightly=true}} ...{code} int docs = TEST_NIGHTLY ? 200000 : 0;
{code}
* i don't understand the point of this test at all ... it doesn't compare
anything between master/slave except after a commit -- so where does the
"AfterCoreReload" part come into play?
** it's particularly wonky given that half of the asserts comparing
master/slave are about haven an identical {{numFound=0}} for a {{\*:\*}} search
against an empty index! (unless nightly)
> reliable TestReplicationHandler.doTestReplicateAfterCoreReload failure --
> more (identical) commits then expected
> ----------------------------------------------------------------------------------------------------------------
>
> Key: SOLR-10251
> URL: https://issues.apache.org/jira/browse/SOLR-10251
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Hoss Man
>
> {noformat}
> [junit4] 2> NOTE: reproduce with: ant test
> -Dtestcase=TestReplicationHandler
> -Dtests.method=doTestReplicateAfterCoreReload -Dtests.seed=6F2AD3669775C0E9
> -Dtests.nightly=true -Dtests.slow=true -Dtests.locale=ky-KG
> -Dtests.timezone=Etc/GMT+10 -Dtests.asserts=true
> -Dtests.file.encoding=ANSI_X3.4-1968
> [junit4] FAILURE 57.2s |
> TestReplicationHandler.doTestReplicateAfterCoreReload <<<
> [junit4] > Throwable #1: java.lang.AssertionError:
> expected:<[{indexVersion=1488994926427,generation=2,filelist=[_7e.cfe,
> _7e.cfs, _7e.si, _7g.cfe, _7g.cfs, _7g.si, _b5.cfe, _b5.cfs, _b5.si, _cz.fdt,
> _cz.fdx, _cz.fnm, _cz.nvd, _cz.nvm, _cz.si, _cz_Lucene50_0.doc,
> _cz_Lucene50_0.tim, _cz_Lucene50_0.tip, _d0.cfe, _d0.cfs, _d0.si,
> segments_2]}]> but
> was:<[{indexVersion=1488994926427,generation=2,filelist=[_7e.cfe, _7e.cfs,
> _7e.si, _7g.cfe, _7g.cfs, _7g.si, _b5.cfe, _b5.cfs, _b5.si, _cz.fdt, _cz.fdx,
> _cz.fnm, _cz.nvd, _cz.nvm, _cz.si, _cz_Lucene50_0.doc, _cz_Lucene50_0.tim,
> _cz_Lucene50_0.tip, _d0.cfe, _d0.cfs, _d0.si, segments_2]},
> {indexVersion=1488994926427,generation=3,filelist=[_7e.cfe, _7e.cfs, _7e.si,
> _7g.cfe, _7g.cfs, _7g.si, _b5.cfe, _b5.cfs, _b5.si, _d1.cfe, _d1.cfs, _d1.si,
> segments_3]}]>
> [junit4] > at
> __randomizedtesting.SeedInfo.seed([6F2AD3669775C0E9:4AFDC856E73DCEEA]:0)
> [junit4] > at
> org.apache.solr.handler.TestReplicationHandler.doTestReplicateAfterCoreReload(TestReplicationHandler.java:1279)
> [junit4] > at java.lang.Thread.run(Thread.java:745)
> {noformat}
> reformating the expected vs actual...
> {noformat}
> expected:
> <[{indexVersion=1488994926427,
> generation=2,
> filelist=[_7e.cfe, _7e.cfs, _7e.si, _7g.cfe, _7g.cfs, _7g.si, _b5.cfe,
> _b5.cfs, _b5.si, _cz.fdt, _cz.fdx, _cz.fnm, _cz.nvd, _cz.nvm, _cz.si,
> _cz_Lucene50_0.doc, _cz_Lucene50_0.tim, _cz_Lucene50_0.tip, _d0.cfe, _d0.cfs,
> _d0.si,
> segments_2]
> }]>
> but was:
> <[{indexVersion=1488994926427,
> generation=2,
> filelist=[_7e.cfe, _7e.cfs, _7e.si, _7g.cfe, _7g.cfs, _7g.si, _b5.cfe,
> _b5.cfs, _b5.si, _cz.fdt, _cz.fdx, _cz.fnm, _cz.nvd, _cz.nvm, _cz.si,
> _cz_Lucene50_0.doc, _cz_Lucene50_0.tim, _cz_Lucene50_0.tip, _d0.cfe, _d0.cfs,
> _d0.si,
> segments_2]
> },
> {indexVersion=1488994926427,
> generation=3,
> filelist=[_7e.cfe, _7e.cfs, _7e.si, _7g.cfe, _7g.cfs, _7g.si, _b5.cfe,
> _b5.cfs, _b5.si, _d1.cfe, _d1.cfs, _d1.si,
> segments_3]
> }]>
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]