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

Steve Rowe commented on SOLR-11929:
-----------------------------------

Thanks [~ab].

Attached a slightly reworked patch, to de-emphasize the "nothing to do here on 
core reload" message in comments/log msg, and also including a CHANGES entry.

Committing shortly.

> UpdateLog metrics are not initialized on core reload
> ----------------------------------------------------
>
>                 Key: SOLR-11929
>                 URL: https://issues.apache.org/jira/browse/SOLR-11929
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: metrics
>            Reporter: Steve Rowe
>            Priority: Major
>         Attachments: SOLR-11929.patch, SOLR-11929.patch
>
>
> My Jenkins found a branch_7x seed for {{TestRecovery.testBuffering()}} and 
> {{TestRecovery.testCorruptLog()}} that reproduces for me 5/5 times (when I 
> exclude {{-Dtests.method=...}} from the cmdline):
> {noformat}
> Checking out Revision 1ef988a26378137b1e1f022985dacee1f557f4fc 
> (refs/remotes/origin/branch_7x)
> [...]
>    [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestRecovery 
> -Dtests.method=testBuffering -Dtests.seed=FC96FD26F8A8CC6F -Dtests.slow=true 
> -Dtests.locale=de-GR -Dtests.timezone=Europe/London -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8
>    [junit4] FAILURE 0.02s J3  | TestRecovery.testBuffering <<<
>    [junit4]    > Throwable #1: java.lang.AssertionError: expected:<1> but 
> was:<3>
>    [junit4]    >      at 
> __randomizedtesting.SeedInfo.seed([FC96FD26F8A8CC6F:E178530D59F16D44]:0)
>    [junit4]    >      at 
> org.apache.solr.search.TestRecovery.testBuffering(TestRecovery.java:494)
>    [junit4]    >      at java.lang.Thread.run(Thread.java:748)
> [...]
>    [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestRecovery 
> -Dtests.method=testCorruptLog -Dtests.seed=FC96FD26F8A8CC6F -Dtests.slow=true 
> -Dtests.locale=de-GR -Dtests.timezone=Europe/London -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8
>    [junit4] ERROR   0.35s J3  | TestRecovery.testCorruptLog <<<
>    [junit4]    > Throwable #1: java.lang.RuntimeException: mismatch: '3'!='0' 
> @ response/numFound
>    [junit4]    >      at 
> __randomizedtesting.SeedInfo.seed([FC96FD26F8A8CC6F:E4B49F502909DB3]:0)
>    [junit4]    >      at 
> org.apache.solr.SolrTestCaseJ4.assertJQ(SolrTestCaseJ4.java:990)
>    [junit4]    >      at 
> org.apache.solr.SolrTestCaseJ4.assertJQ(SolrTestCaseJ4.java:937)
>    [junit4]    >      at 
> org.apache.solr.search.TestRecovery.testCorruptLog(TestRecovery.java:1367)
>    [junit4]    >      at java.lang.Thread.run(Thread.java:748)
> [...]
>    [junit4]   2> NOTE: test params are: codec=Asserting(Lucene70): 
> {_root_=PostingsFormat(name=LuceneVarGapFixedInterval), 
> id=PostingsFormat(name=Direct)}, 
> docValues:{_version_=DocValuesFormat(name=Lucene70), 
> val_i_dvo=DocValuesFormat(name=Memory), val_i=DocValuesFormat(name=Memory)}, 
> maxPointsInLeafNode=1937, maxMBSortInHeap=7.529691259992591, 
> sim=RandomSimilarity(queryNorm=false): {}, locale=de-GR, 
> timezone=Europe/London
>    [junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 
> 1.8.0_151 (64-bit)/cpus=16,threads=1,free=217064096,total=530579456
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to