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

David Smiley commented on SOLR-12320:
-------------------------------------

I just worked on SOLR-14461 to stop using commons-fileupload in lieu of now 
standard Servlet 3.0 /Jetty implementation.  One of the settings is a threshold 
as to wether to write a file or use a memory buffer.  I chose 1MB but please 
provide input there if you think it's not appropriate.

I chose to do the cleanup at the end of the request, taking inspiration from a 
mechanism in Jetty.  No more deleter thread.

> Not all multi-part post requests should create tmp files.
> ---------------------------------------------------------
>
>                 Key: SOLR-12320
>                 URL: https://issues.apache.org/jira/browse/SOLR-12320
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>
> We create tmp files for multi-part posts because often they are uploaded 
> files for Solr cell or something but we also sometimes write params only or 
> params and updates as multi-part post. These should not create any tmp files.



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