lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Earwin Burrfoot (JIRA)" <>
Subject [jira] Updated: (LUCENE-2818) abort() method for IndexOutput
Date Sat, 18 Dec 2010 10:08:00 GMT


Earwin Burrfoot updated LUCENE-2818:

    Priority: Minor  (was: Major)

This change is really minor, but I think, convinient.

You don't have to lug reference to Directory along, and recalculate the file name, if the
only thing you want to say is that write was a failure and you no longer need this file.

> abort() method for IndexOutput
> ------------------------------
>                 Key: LUCENE-2818
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Earwin Burrfoot
>            Priority: Minor
> I'd like to see abort() method on IndexOutput that silently (no exceptions) closes IO
and then does silent papaDir.deleteFile(this.fileName()).
> This will simplify a bunch of error recovery code for IndexWriter and friends, but constitutes
an API backcompat break.
> What do you think?

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message