Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-59313

SCons cachedir symlink mode

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • 6.0 Desired
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Development Platform

      This was an idea I had while working on the PCH project and discovering that pch obj files are much larger and there fore slow down the cache due to increased transfer speed. The effects of this idea would be useful even outside of the context of PCH. This would be a special mode, intended for use in evergreen where we transfer a large amount of data over network from the scons cache EFS.

      The idea would be to make the cache use a symlink when copying from the cache instead of actually copying the file. There are probably some other places we will need to examine that are able to use the symlinks correctly, for example:

      • Does hardlink install action still work correctly?
      • Do packaging scripts work with these symlinked files?
      • To make sure the symlinked file doesn't drop out from under us while we are linked, we will need to make a hardlink inside the EFS, and symlink to that instead, and then delete the hardlink after the evergreen build is done?

            Assignee:
            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            Reporter:
            daniel.moody@mongodb.com Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: