Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-19759

Artifactory recalculates NPM metdata for the entire repository when deleting or uploading NPM package

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 6.11.3
    • Fix Version/s: 6.12.0
    • Component/s: NPM
    • Labels:
      None

      Description

      When deleting or uploading a package from NPM repository, Artifactory will recalculate metadata for the entire repository instead for only the actual path of the package. This increases the CPU usage significantly (tested with ~4k artifacts in the repository). 

      Steps to reproduce:

      1. Create NPM repository with different packages.
      2. Delete a single artifact from the repository.
      3. One minute later Artifactory will recalculate metadata for the entire repository.

       

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              oronc Oron Chalaf
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: