You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Kevin Risden (Jira)" <ji...@apache.org> on 2022/09/02 13:49:00 UTC

[jira] [Updated] (SOLR-16399) ExportWriter fails with max values for fields

     [ https://issues.apache.org/jira/browse/SOLR-16399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Risden updated SOLR-16399:
--------------------------------
    Status: Patch Available  (was: Open)

> ExportWriter fails with max values for fields
> ---------------------------------------------
>
>                 Key: SOLR-16399
>                 URL: https://issues.apache.org/jira/browse/SOLR-16399
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Export Writer
>            Reporter: Kevin Risden
>            Assignee: Kevin Risden
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> TestExportWriter.testMultipleSorts has been hanging and [~epugh] shared this seed that reproduced:
> {code:java}
> ./gradlew :solr:core:test --tests “org.apache.solr.handler.export.TestExportWriter.testMultipleSorts” -Ptests.jvms=4 “-Ptests.jvmargs=-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=120m” -Ptests.seed=9ED4BC2C416D56E9 -Ptests.file.encoding=US-ASCI
> {code}
> https://lists.apache.org/list?builds@solr.apache.org:lte=1y:&header_body=org.apache.solr.handler.export.TestExportWriter.testMultipleSorts
> Looking into the failure found that if Float.MAX_VALUE is chosen and document ends up being compared to the top doc. That document will get skipped since MAX_VALUE can't be more than MAX_VALUE.
> This causes the export writer to hang looking for more documents indefinitely until the test framework times out.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org