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

Inaccurate Total Storage Size Information When Redundancy Is Bigger Than 1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: 4 - Normal
    • Resolution: Unresolved
    • Affects Version/s: 6.21.1, 7.7.8
    • Fix Version/s: None
    • Component/s: Artifact Storage, UI
    • Labels:
      None
    • Severity:
      Medium

      Description

      Inaccurate Total Storage Size Information When Redundancy Is Bigger Than 1:

       

      Steps to reproduce:

      I was able to reproduce on v6.21 and v7.7.8(Latest as of today)

      1. Install single instance Artifaictory
      2. Use the attached binarystore.xml template
      3. For the sake of this test, before starting the instance, create the following directories as specified in binarystore.xml file:
        1. /home/ec2-user/shards/cache
        2. /home/ec2-user/shards/shard1
        3. /home/ec2-user/shards/shard2
        4. /home/ec2-user/shards/shard3
        5. /home/ec2-user/shards/shard4
      4. Start the instance, and go the Storage info
      5. You will notice that it shows the accurate total storage size. In my case 80GB (4 shards with 20GB each)

       

      1. Now, stop the instance 
      2. Set the redundancy to 2, save and close the binarystore.xml file.
      3. Start the instance
      4. You will notice that this time it shows an inaccurate total storage size. In my case 20GB, which is wrong, it should be 80GB.

       

      binarystore.xml

        Attachments

        1. 1.jpg
          1.jpg
          210 kB
        2. 2.jpg
          2.jpg
          214 kB
        3. binarystore.xml
          2 kB

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            timt Tim Telman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Sync Status

                Connection: RTFACT Sync
                RTMID-23424 -
                SYNCHRONIZED
                • Last Sync Date: