lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nhat Nguyen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-8318) The dest file might be deleted later by FSDirectory#rename
Date Wed, 16 May 2018 20:29:00 GMT
Nhat Nguyen created LUCENE-8318:
-----------------------------------

             Summary: The dest file might be deleted later by FSDirectory#rename
                 Key: LUCENE-8318
                 URL: https://issues.apache.org/jira/browse/LUCENE-8318
             Project: Lucene - Core
          Issue Type: Bug
    Affects Versions: 7.4, master (8.0)
         Environment: When renaming a file, `FSDirectory#rename` tries to delete the dest
file if it's in the pending deletes list. If that delete fails, it adds the dest to the pending
deletes list again. This causes the dest file to be deleted later by `deletePendingFiles`.

This was introduced by LUCENE-8275
            Reporter: Nhat Nguyen






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message