[SERVER-27710] Move SNMP initialization out of `db.cpp` Created: 17/Jan/17  Updated: 09/Oct/17  Resolved: 19/Jan/17

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 3.5.2

Type: Improvement Priority: Major - P3
Reporter: ADAM Martin (Inactive) Assignee: ADAM Martin (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
Participants:

 Comments   
Comment by Githook User [ 19/Jan/17 ]

Author:

{u'username': u'adamlsd', u'name': u'ADAM David Alan Martin', u'email': u'adam.martin@10gen.com'}

Message: SERVER-27710 Move SNMP init hook out of db.cpp.

The `src/mongo/db.cpp` file is compiled into the main server program,
and causes broken-dependency issues in linking the enterprise modules.
By moving this symbol to another file, we can better express this
dependency. Further, this change lays the groundwork to switch from
from a pointer to function to a `std::function< void () >` object.
Branch: master
https://github.com/mongodb/mongo/commit/0d89f9f90e4f6a7ab00ce406b459d450b63e6ef3

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