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

blobstore Blob count and Total size are sometimes incorrect

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: New
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 3.13.0, 3.16.1, 3.24.0, 3.29.0, 3.30.0, 3.30.1, 3.36.0, 3.37.0
    • Fix Version/s: None
    • Component/s: Blobstore
    • Environment:
      linux

      Description

      In the Nexus Blob stores the Blob count and Total size shows the wrong information. Our total disk space for the nexus is about 300GB. but Nexus shows the total space about 900GB which is very misleading

      Diagnosis

      Blobstore metrics could be incorrect for a variety of reasons:

      Edge Cases:

      • an existing bug
      • Manual deletion of stuff from the disk
      • system crashes at inopportune times

      Other:

      For users who have a blob store with soft-deleted and not-yet-compacted blobs that then update to latest NXRM version and compact the blob store with that, the previously soft-deleted blobs are double-counted: They were removed from the metrics by the old code during soft-delete, then again by the new code during hard-delete/compact, resulting in metrics that are too low in numbers.

      Possible Remedy

      Develop a supported procedure to bring blobstore metrics back in sync for each type of supported blobstore type.

        Attachments

        1. Blob Stores - Nexus Repository Manager.png
          Blob Stores - Nexus Repository Manager.png
          9 kB
        2. image-2019-10-21-15-27-21-134.png
          image-2019-10-21-15-27-21-134.png
          26 kB
        3. image-2020-06-20-12-49-57-335.png
          image-2020-06-20-12-49-57-335.png
          62 kB
        4. image-2020-06-29-17-45-01-351.png
          image-2020-06-29-17-45-01-351.png
          32 kB
        5. image-2021-06-03-16-29-49-440.png
          image-2021-06-03-16-29-49-440.png
          135 kB
        6. negative.png
          negative.png
          39 kB
        7. nexus-bug.PNG
          nexus-bug.PNG
          11 kB
        8. nexus-bug2.PNG
          nexus-bug2.PNG
          5 kB
        9. screenshot-1.png
          screenshot-1.png
          10 kB
        10. screenshot-2.png
          screenshot-2.png
          19 kB

          Issue Links

            Activity

              People

              Assignee:
              apervaiz Abrash Pervaiz
              Reporter:
              haris.s Haris Shehzad
              Last Updated By:
              Abrash Pervaiz Abrash Pervaiz
              Votes:
              12 Vote for this issue
              Watchers:
              26 Start watching this issue

                Dates

                Created:
                Updated:
                Date of First Response:

                  tigCommentSecurity.panel-title