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

The cache-fs map initialization should support a symlinked cache path

    XMLWordPrintable

    Details

    • Severity:
      High

      Description

      Artifactory keeps an in memory map of the binaries inside the cache-fs path. This map is initialized during startup. A client may need to symlink this location. In this case, the cache-fs will consider the cache symlink a file and won't traverse the tree underneath it so essentially the map will only contain a single entry which is the "cache" dir symlink itself.

      This causes the cache path to grow uncontrollably, because every time the server is restarted we lose the history of all the entries that were added during the last uptime cycle. This is because our LRU cleanup mechanism relies on the existence of all the binaries under the cache dir in this map in order to remove them when the space limit is exceeded.

        Attachments

          Issue Links

            Activity

                People

                Assignee:
                nadavy Nadav Yogev
                Reporter:
                uriahl Uriah Levy
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: