[SERVER-46364] Duplicate id checking should occur during lint phase of build, not compile Created: 24/Feb/20  Updated: 29/Oct/23  Resolved: 20/Mar/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.4.0-rc0, 4.7.0

Type: Improvement Priority: Major - P3
Reporter: Andy Schwerin Assignee: Henrik Edin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Duplicate
is duplicated by SERVER-46273 During development, provide a mechani... Closed
Related
is related to SERVER-47332 Add debug only logging macro to facil... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4
Sprint: Dev Tools 2020-03-09, Dev Tools 2020-03-23
Participants:

 Description   

If we move the duplicate log/error id check in scons from the compile phase to the lint phase of patch builds, it will be easier to do printf debugging because you'll be able to run the patch build with duplicate log ids (enabling cut-and-pasting log lines), and only get a lint failure rather than a compile failure.



 Comments   
Comment by Githook User [ 26/Mar/20 ]

Author:

{'name': 'Henrik Edin', 'username': 'henrikedin', 'email': 'henrik.edin@mongodb.com'}

Message: SERVER-46364 Move errorcodes check to lint phase.

(cherry picked from commit 560f40b2bfcccd731708be9ed49676a2ca72a146)
Branch: v4.4
https://github.com/mongodb/mongo/commit/fad0cbcf368a047278e03ce8fb3b0b00bac63305

Comment by Githook User [ 20/Mar/20 ]

Author:

{'name': 'Henrik Edin', 'username': 'henrikedin', 'email': 'henrik.edin@mongodb.com'}

Message: SERVER-46364 Move errorcodes check to lint phase.
Branch: master
https://github.com/mongodb/mongo/commit/560f40b2bfcccd731708be9ed49676a2ca72a146

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