[SERVER-39483] Stripped binaries and .debug files should not be cached Created: 09/Feb/19  Updated: 29/Oct/23  Resolved: 12/Feb/19

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: 3.6.11, 4.0.7, 4.1.8

Type: Improvement Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0, v3.6, v3.4
Sprint: Dev Tools 2019-02-25
Participants:

 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.



 Comments   
Comment by Githook User [ 18/Feb/19 ]

Author:

{'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}

Message: SERVER-39483 Tag large build artifacts as non-cacheable

(cherry picked from commit 87881b0424d3706f57efa14b26729c9b5a7a0d4d)
(cherry picked from commit 861fbd17473634d3ef991783e74a42b8c873e51b)
Branch: v3.6
https://github.com/mongodb/mongo/commit/62b59e76360beba3854d74a27693ef4c84182c50

Comment by Githook User [ 18/Feb/19 ]

Author:

{'name': 'Andrew Morrow', 'username': 'acmorrow', 'email': 'acm@mongodb.com'}

Message: SERVER-39483 Tag large build artifacts as non-cacheable

(cherry picked from commit 87881b0424d3706f57efa14b26729c9b5a7a0d4d)
Branch: v4.0
https://github.com/mongodb/mongo/commit/861fbd17473634d3ef991783e74a42b8c873e51b

Comment by Githook User [ 12/Feb/19 ]

Author:

{'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}

Message: SERVER-39483 Tag large build artifacts as non-cacheable
Branch: master
https://github.com/mongodb/mongo/commit/87881b0424d3706f57efa14b26729c9b5a7a0d4d

Generated at Thu Feb 08 04:52:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.