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

    • 2
    • NXRM Immortals Sprint 37
    • 2
    • non-concept
    • 2

    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

              jhill Joshua Hill
              hosako Hajime Osako
              Michael Oliverio Michael Oliverio
              NXRM - Optimus
              Joshua Hill Joshua Hill
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                tigCommentSecurity.panel-title