Info
Overtime we have been seeing intermittent issues with ccache and icecream and git worktrees. It seems the symlink from github work tree can poison the cache for ccache. This appears to be directly related to a chunk of workaround code we applied for very old versions of ccache: https://github.com/10gen/mongo/blob/aef11e7e3ade447f28ae0d8ebc23256237263b87/SConstruct#L4370-L4381
You will notice the chunk of code references ccache issues closed in 2018. I think there should be no more use of such old versions on workstations or via the toolchain. We should remove this code.
Top User Comments
xgen-internal-githook commented on Mon, 18 Mar 2024 08:04:58 +0000:
Author:
{'name': 'Daniel Moody', 'email': 'dmoody256@gmail.com', 'username': 'dmoody256'}
Message: Revert "SERVER-87732 remove old ccache workaround (#19795)"
This reverts commit 1efec7e49b0d32927d9adce6e887aa07f577209b.
GitOrigin-RevId: e7667b1b2a4c8daf0fb6bbe45f70d405648dfdc3
Branch: master
https://github.com/mongodb/mongo/commit/ae203033cc57cd44630a71ea2b74d0fe0fc0fc11
xgen-internal-githook commented on Mon, 11 Mar 2024 22:42:39 +0000:
Author:
{'name': 'Daniel Moody', 'email': 'dmoody256@gmail.com', 'username': 'dmoody256'}
Message: SERVER-87732 remove old ccache workaround (#19795)
GitOrigin-RevId: 1efec7e49b0d32927d9adce6e887aa07f577209b
Branch: master
https://github.com/mongodb/mongo/commit/572308b1d4887385e06e80d62cb35c8e4fea856a