You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/06/17 21:30:00 UTC

[jira] [Commented] (LUCENE-9408) OneMerge#mergeFinish is called multiple times

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

ASF subversion and git services commented on LUCENE-9408:
---------------------------------------------------------

Commit e3d0c1c0e6565d857500d34b9829751e23d9cf68 in lucene-solr's branch refs/heads/branch_8x from Simon Willnauer
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=e3d0c1c ]

LUCENE-9408: roll back only called once enforcement


> OneMerge#mergeFinish is called multiple times
> ---------------------------------------------
>
>                 Key: LUCENE-9408
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9408
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Simon Willnauer
>            Priority: Minor
>
> After enforcing calling this method only once a random test caused OneMerge#mergeFinished to be called multiple times.
> {noformat}
> 21:06:59    [junit4] Suite: org.apache.lucene.index.TestIndexFileDeleter
> 21:06:59    [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestIndexFileDeleter -Dtests.method=testExcInDeleteFile -Dtests.seed=BCFF67862FF6529B -Dtests.slow=true -Dtests.badapples=true -Dtests.locale=haw-US -Dtests.timezone=Etc/Zulu -Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1
> 21:06:59    [junit4] FAILURE 0.04s J0 | TestIndexFileDeleter.testExcInDeleteFile <<<
> 21:06:59    [junit4]    > Throwable #1: java.lang.AssertionError
> 21:06:59    [junit4]    > 	at __randomizedtesting.SeedInfo.seed([BCFF67862FF6529B:518F81E5ACB0444E]:0)
> 21:06:59    [junit4]    > 	at org.apache.lucene.index.TestIndexFileDeleter.testExcInDeleteFile(TestIndexFileDeleter.java:525)
> 21:06:59    [junit4]    > 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 21:06:59    [junit4]    > 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 21:06:59    [junit4]    > 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 21:06:59    [junit4]    > 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> 21:06:59    [junit4]    > 	at java.base/java.lang.Thread.run(Thread.java:834)
> {noformat}
> mergeFinished should only be called once.



--
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