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

Stripped binaries and .debug files should not be cached

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.11, 4.0.7, 4.1.8
    • Affects Version/s: None
    • Component/s: Build
    • None
    • Fully Compatible
    • v4.0, v3.6, v3.4
    • Dev Tools 2019-02-25

      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.

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: