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

Erick Erickson commented on SOLR-14784:
---------------------------------------

[~jpountz] LGTM. I _think_ the test is just making sure Solr's 
DirectUpdateHandler actually passes commands through to Lucene and that in 
particular preparecommit changes the physical index without making new docs 
searchable from Solr.

Since you've eyeballed it and can account for the change in what the test was 
assuming, changing the test seems like the right thing to do.

I did nothing special to get the error, just thought it interesting. Maybe 
because I'm running on a mac? There are also a number of "permission denied" 
exceptions that I get scattered about as well as a message that the solr core 
has already been closed so I'll see if I can find out what's causing that. But 
that doesn't affect this JIRA, I'll raise another if there's something else 
there.

Thanks!

> Reproducible failure for DirectUpdateHandlerTest
> ------------------------------------------------
>
>                 Key: SOLR-14784
>                 URL: https://issues.apache.org/jira/browse/SOLR-14784
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Tests
>    Affects Versions: master (9.0)
>            Reporter: Erick Erickson
>            Priority: Major
>         Attachments: DirectUpdateHandlerTest-fail.txt, 
> DirectUpdateHandlerTest-success.xml
>
>
> This is rather weird. It apparently was introduced by LUCENE-9456, but that 
> seems odd. Although I do note that that push may do some different error 
> handling, perhaps Solr needs to accommodate that.
> Of course it doesn't necessarily reproduce with other seeds.
> [~jpountz] do you have any hints?
> Reproduce 100% with:
> ./gradlew :solr:core:test --tests 
> "org.apache.solr.update.DirectUpdateHandlerTest" 
> -Ptests.seed=2BE3A8682E5E346D -Ptests.multiplier=2 -Ptests.badapples=false 
> -Ptests.file.encoding=US-ASCII
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to