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

Stripped binaries and .debug files should not be cached

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.11, 4.0.7, 4.1.8
    • Component/s: Build
    • Labels:
      None

      Description

      The recent work to add SCons cache debugging (SERVER-39075) has revealed that we are actually pushing the separate debug info and the stripped binaries into the SCons cache. Normally, we tag all binaries and libraries as not being cacheable, but we had not realized that the later stages of the build pipeline were not similarly treated. These files are large and take up significant size in the cache, but will almost never be retrieved. We should tag them as non-cacheable, both to avoid the bandwidth cost of pushing them to the cache in the case where the cache is network shared, as well as to avoid the cache pressure effects of having such large and non-retrievable artifacts present in the cache.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: