[SERVER-27378] Enabling the enterprise module should not require recompiling the world Created: 12/Dec/16  Updated: 05/Apr/17  Resolved: 06/Feb/17

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: 3.5.3

Type: Improvement Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Platforms 2017-01-23, Platforms 2017-02-13
Participants:

 Description   

Enabling the enterprise module causes MONGO_ENTERPRISE_VERSION to be defined for every TU in the build, even if it has no effect. Much like we enable injecting support for individual third party libraries to reduce the scope of effects, we should make it possible to selectively inject awareness of the enterprise (or any other) module.

This would make it much faster to switch between community and enterprise builds.



 Comments   
Comment by Githook User [ 06/Feb/17 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-27378 Narrow scope of enterprise module environment modifications
Branch: master
https://github.com/mongodb/mongo/commit/f29598f2b8d3caa12f9a4bdca3e0ccffbbb6a5cb

Comment by Githook User [ 06/Feb/17 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-27378 Narrow scope of enterprise module environment modifications
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/f9a14ed09d82b1d80a3f16f48ade6cf6d4f401f6

Generated at Thu Feb 08 04:14:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.