Search code examples
artifactoryjfrog-pipelines

Is double disk storage required in JFrog Artifactory for two files with the same MD5 value?


For instance, I uploaded FILE1 to Artifactory PATH1. Then, I upload FILE1 (the same file) to Artifacotry PATH2 (a different path).

Will these two shares the same disk storage as they have the same md5 value?

I hope Artifactory could treat them as the same file to save the disk storage. Something like only save the orginal file on disk and mantain a number of reference.


Solution

  • Artifactory uses Checksum-Based Storage to store files based on their SHA1 checksum. So each file is stored only once in the filestore but may have several references in the database.