Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-32121

Failure to create a hard link during migration is not logged.

    Details

    • Type: Bug
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.38.1
    • Fix Version/s: None
    • Component/s: Migration
    • Labels:
    • Notability:
      2

      Description

      When performing Nexus Repo 2 to 3 migration using hard linking, if the call to make a link fails it is shown in the UI as:

      Failed processing of CREATE reponame:/some/path. Blobld: bdfd8297-
      e376-4919-a919-66148e795008, Java.nio.file.FileSystemException:
      /opt/sonatype-work/nexus3/blobs/default/content/tmp/bdfd8297-e376-4919-a919.
      b6148e795008.b2aa59a5-ddf4.49ed-bcdd-e41c1c417ad8 bytes ->
      /some/path: Invalid cross-device link,

      But absolutely nothing is logged for this in Nexus Repo 3.

      This is critical information, it is not sufficient to simply show it in a UI.

      Expected: Log this failure as a single log line in the nexus.log file.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            rseddon Rich Seddon
            Last Updated By:
            Michael Oliverio Michael Oliverio
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Date of First Response:

                tigCommentSecurity.panel-title