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

          craigm Craig Macdonald created issue -
          Hide
          craigm Craig Macdonald added a comment -

          Committed r3597.

          Show
          craigm Craig Macdonald added a comment - Committed r3597.
          craigm Craig Macdonald made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Iadh Ounis [ ounis ] Craig Macdonald [ craigm ]
          Fix Version/s 3.6 [ 10061 ]
          Fix Version/s 4.0 [ 10050 ]
          Resolution Fixed [ 1 ]
          richardm Richard McCreadie made changes -
          Project TREC [ 10010 ] Terrier Core [ 10000 ]
          Key TREC-265 TR-257
          Issue Type Improvement [ 4 ] Bug [ 1 ]
          Workflow jira [ 10592 ] Terrier Open Source [ 10775 ]
          Affects Version/s 3.5 [ 10040 ]
          Affects Version/s 3.0 [ 10030 ]
          Affects Version/s 3.0 [ 10020 ]
          Affects Version/s 3.5 [ 10021 ]
          Component/s Core [ 10020 ]
          Fix Version/s 3.6 [ 10060 ]
          Fix Version/s 3.6 [ 10061 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: