[SERVER-67841] Build with the HAVE_REF_TRACK flag for WiredTiger to enable reference tracking in MongoDB testing Created: 07/Jul/22 Updated: 29/Oct/23 Resolved: 08/Aug/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Chenhao Qu | Assignee: | Sulabh Mahajan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Execution Team 2022-07-25, Execution Team 2022-08-08, Execution Team 2022-08-22 | ||||||||
| Participants: | |||||||||
| Description |
|
WiredTiger has a feature called reference tracking to trace the recent history of page reference state transitions. It was only enabled in diagnostic build and in MongoDB debug build. We make the change in
|
| Comments |
| Comment by Sulabh Mahajan [ 02/Aug/22 ] |
Easy, in that case, I could default REF tracking to ON, and switch it off for release builds or when specifically asked to do that. |
| Comment by Daniel Moody [ 02/Aug/22 ] |
|
sulabh.mahajan@mongodb.com We have a --release flag which is used to indicate a release build, and I am not familiar with all the performance testing, but from what I can tell, the performance tests use the --release flag as well. So you could in the SConstruct, add a check if the --release flag is set and then turn the REF tracking on or off. |
| Comment by Connie Chen [ 12/Jul/22 ] |
|
We should try this locally once to see memory consumption before changing the production testing |