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

    • Type: Bug
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 4.16.0
    • Fix Version/s: None
    • Component/s: Artifact Storage, Filestore
    • Labels:
      None

      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

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            uriahl Uriah Levy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: