Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-5606

Upgrade to DS 6.0 fails if multiple filesystems are involved

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.0
    • Fix Version/s: 6.5.0
    • Component/s: upgrade
    • Labels:
    • Environment:
      Java 1.7, upgrade to DS 6.0.0
    • Story Points:
      1
    • Support Ticket IDs:

      Description

      When upgrading to DS 6.0.0, it was seen that the process fails while trying to move admin-backend.ldif from /path/to/DS/config/ to /path/to/DS/db/admin, if these two locations are on different filesystems.

      According to the Javadocs for the file.renameTo() method:

      The rename operation might not be able to move a file from one filesystem to another, it might not be atomic, and it might not succeed if a file with the destination abstract pathname already exists.

      This may affect other files being renamed as well.

       

        Attachments

          Activity

            People

            • Assignee:
              cjr Chris Ridd
              Reporter:
              akhil.kommadath Akhil Kommadath
              Dev Assignee:
              Chris Ridd
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: