[SERVER-54458] updated vendored scons to use uuid for cache tmpfiles Created: 10/Feb/21  Updated: 29/Oct/23  Resolved: 11/Feb/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0, 4.2.13, 4.4.5

Type: Improvement Priority: Major - P3
Reporter: Daniel Moody Assignee: Daniel Moody
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Problem/Incident
causes SERVER-54375 Failing windows build with error LNK1106 Closed
Related
related to SERVER-54342 update vendored scons to not hide fil... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4, v4.2
Sprint: Dev Platform 2021-02-22
Participants:
Linked BF Score: 17

 Description   

SCons uses a pid here which can cause issue when two separate system end up with the same pid for the scons process, and write the same file to the cache at the same time.

 

Using uuid is simple and easy fix.



 Comments   
Comment by Githook User [ 16/Feb/21 ]

Author:

{'name': 'Daniel Moody', 'email': 'daniel.moody@mongodb.com', 'username': 'dmoody256'}

Message: SERVER-54458 update vendored scons to use uuid instead of pid for cachedir

(cherry picked from commit 42d2e4a817581ae34931bad2f5354dcd46f05dc5)
Branch: v4.4
https://github.com/mongodb/mongo/commit/5c5b8db6342e21b856cbc44cb48468e88c04fce8

Comment by Githook User [ 11/Feb/21 ]

Author:

{'name': 'Daniel Moody', 'email': 'daniel.moody@mongodb.com', 'username': 'dmoody256'}

Message: SERVER-54458 update vendored scons to use uuid instead of pid for cachedir

(cherry picked from commit 42d2e4a817581ae34931bad2f5354dcd46f05dc5)
Branch: v4.2
https://github.com/mongodb/mongo/commit/7a677a9c2e7cc070523ed47aa8936f0e711c0e43

Comment by Daniel Moody [ 11/Feb/21 ]

Upstream PR: https://github.com/SCons/scons/pull/3885

Comment by Githook User [ 11/Feb/21 ]

Author:

{'name': 'Daniel Moody', 'email': 'daniel.moody@mongodb.com', 'username': 'dmoody256'}

Message: SERVER-54458 update vendored scons to use uuid instead of pid for cachedir
Branch: master
https://github.com/mongodb/mongo/commit/42d2e4a817581ae34931bad2f5354dcd46f05dc5

Generated at Thu Feb 08 05:33:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.