Uploaded image for project: 'Terrier Core'
  1. Terrier Core
  2. TR-257

IndexUtil.rename() should check rename() returns.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0, 3.5
    • Fix Version/s: 3.6
    • Component/s: None
    • Labels:
      None

      Description

      If there is a lower-level indexing bug, then a structure file might not be closed. In this situation, on Windows, IndexUtil.rename() should fail or throw an exception, by checking the return code of Files.rename()

        Attachments

          Activity

          Hide
          craigm Craig Macdonald added a comment -

          Committed r3597.

          Show
          craigm Craig Macdonald added a comment - Committed r3597.

            People

            • Assignee:
              craigm Craig Macdonald
              Reporter:
              craigm Craig Macdonald
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: