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

James Strassburg commented on SOLR-1939:
----------------------------------------

Would it be worthwhile to, in the case of IOException, attempt to check if free 
disk space was below some threshold and only abort in that case. If the free 
disk space check failed with IOException or if free disk space was above the 
threshold we could fail the document and attempt to continue as before. I think 
this would be better than, say, attempting to parse exception messages which 
could vary from platform to platform. The problem then becomes choosing the 
free disk space threshold to use.

> DataImportHandler reports success after running out of disk space
> -----------------------------------------------------------------
>
>                 Key: SOLR-1939
>                 URL: https://issues.apache.org/jira/browse/SOLR-1939
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.4
>            Reporter: Wojtek Piaseczny
>              Labels: newdev
>         Attachments: SOLR-1939.patch, notes_for_SOLR1939.rtf
>
>
> DataImportHandler reports success after running out of disk space 
> (.properties file is updated with new time stamps and status page reports 
> success). Out of disk space exceptions should be treated more like 
> datasource-level exceptions than like document-level exceptions (i.e. they 
> should cause the import to report failure).
> Original discussion here:
> http://lucene.472066.n3.nabble.com/DataImportHandler-and-running-out-of-disk-space-td835125.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to