Loading...
Loading...
The WiredTiger project uses autoconf to generate header files that enable and disable some functionality. Since MongoDB uses scons the MongoDB tree contains pre-generated versions of those files. When a new variable is added that appears in wiredtiger_config.h the MongoDB files will be out of date, and there is no mechanism in place to monitor when they are out of date. The particular files are (currently): https://github.com/mongodb/mongo/tree/master/src/third_party/wiredtiger/build_darwin https://github.com/mongodb/mongo/tree/master/src/third_party/wiredtiger/build_freebsd https://github.com/mongodb/mongo/tree/master/src/third_party/wiredtiger/build_linux https://github.com/mongodb/mongo/tree/master/src/third_party/wiredtiger/build_openbsd https://github.com/mongodb/mongo/tree/master/src/third_party/wiredtiger/build_solaris
JIRAUSER1257562 commented on Wed, 16 Nov 2022 17:07:52 +0000: After a careful backlog refinement, the team decided to close this ticket because of its low priority and limited resource capacity. If you believe that this ticket requires additional attention from the team and should be re-opened, feel free to change the status to "Needs Scheduling" and ping me or alexander.neben@mongodb.com acm commented on Mon, 5 Jun 2017 14:46:23 +0000: This is a problem we face, in general, with all of our vendored packages, for which we pre-generate their configurations on our target platforms. The alternative would be that SCons would need to run autogen/autoconf/configure/make for each third party package on each build if it hadn't done it already. There would be some upsides to that, as we would get more faithful execution of the target build systems intended behavior, and we would no longer need to generate configurations ourselves, but we would need to translate our build options into equivalents for the target system, and it isn't always possible to do so with full fidelity. The downside would be a significant increase in cost for a first time build if anything in your build (debug vs opt, CCFLAGS, etc.) changed. I'm not sure we should attempt this now, and we should probably just continue with the current approach, even though it does have some adverse effects, like needing to periodically regenerate configurations. alexander.gorrod commented on Mon, 5 Jun 2017 14:37:30 +0000: It is usually built by autoconf/configure. acm commented on Mon, 5 Jun 2017 14:07:05 +0000: How is the wiredtiger_config.h file generated now? Is it a template that is interpolated (if so, what is the input file)? Some other mechanism? alexander.gorrod commented on Tue, 23 May 2017 17:11:40 +0000: This will become even more relevant when the timestamp changes in WT-3181 are pulled into MongoDB
Click on a version to see all relevant bugs
MongoDB Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.