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

deployment of rpm to a single directory causes metadata rebuild for entire repository

    XMLWordPrintable

    Details

    • Notability:
      4

      Description

      Reproduce

      Config: Yum Hosted repo with repodata depth 1, strict layout policy, disable redeploy.

      To reproduce:
      1. Upload one rpm package (called 'rpm1' below) to directory A.
      2. Upload a different rpm package (called 'rpm2' below) to directory B.
      3. Wait for yum metadata rebuild
      4. Delete 'rpm1' and 'rpm2'. Only delete the two assets, not the folders or metadata!
      5. Wait for yum metadata rebuild.( you may notice NEXUS-17624 )
      6. Upload 'rpm1' to directory A.
      7. Wait for yum metadata rebuild.

      Bug: Notice that NXRM rebuilds the repodata metadata for both directory A and directory B, when only the files in directory A were updated.

      Expected

      Performing actions ( delete/move/update/create ) of files in disparate metadata sub-paths should not schedule rebuilds of metadata in other non-related sub-paths.

      In other words, only rebuild metadata in dir levels that have actually changed since the last rebuild of metadata in those dir levels.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              oshiyanbade Olu Shiyanbade
              Reporter:
              plynch Peter Lynch
              Last Updated By:
              Michael Prescott Michael Prescott
              Team:
              NXRM - Groot
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title