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

Integrity check option of Repair - Reconcile component database from blob store task may delete blobs migrated from OrientDB

    Details

    • Story Points:
      2
    • Sprint:
      NXRM Immortals Sprint 37
    • Notability:
      2
    • InvestmentLayer:
      support-escalated
    • Aha Concept:
      non-concept

      Description

      SYMPTOM:

      After migrating to PostgreSQL, decided to run the reconcile task immediately, and found some assets were disappeared.

      REPRODUCE STEPS:

      1. Install NXRM 3.38 with OrientDB, and create raw-hosted repository
      2. Upload some file into the raw-hosted
      3. Migrate to PostgreSQL
      4. Create a "Reconcile component database from blob store" task and run with "Integrity Check" (default is checked).

      EXPECTED BEHAVIOUR:

      Nexus should not remove the test file which we uploaded into the raw-hosted repository.

      ACTUAL BEHAVIOUR:

      The test file was removed.
      The reason might be because Nexus added some extra logic in case DB was rolled back to OrientDB in NEXUS-30109, but does not look like any logic to handle OrientDB's blobName (not start with "/") for new PostgreSQL's assetName.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jhill Joshua Hill
              Reporter:
              hosako Hajime Osako
              Last Updated By:
              Nicholas Blair Nicholas Blair
              Team:
              NXRM - Optimus
              Owner:
              Joshua Hill Joshua Hill
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title