Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-795

deprecate Directory.renameFile()

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.1
    • Component/s: core/store
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Copied from my mailing list post so this issue can be tracked (if necessary). I will commit a patch.

      I see that Directory.renameFile() isn't used anymore. I assume it has only
      been public for technical reasons, not because we expect this to be used
      from outside of Lucene? Should we deprecate this method? Its
      implementation e.g. in FSDirectory looks a bit scary anyway (the comment
      correctly says "This is not atomic" while the abstract class says "This
      replacement should be atomic").

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lucenebugs@danielnaber.de Daniel Naber

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment