|
Analyzing the dependency graph of the MongoS and MongoD respectively, it appears that the MongoD links 689 libraries (third-party excluded, see mongod_dep.sorted ) and the MongoS links 461 libraries (see mongos_dep.sorted ).
Of these, 449 libraries are linked by both the MongoS and MongoD executables, 12 are linked by the MongoS executable only, and 240 by the MongoD only:

Those linked only by MongoS only are:
| Library |
Filename |
| authmongos |
mongo/db/auth/libauthmongos.a |
| ftdc_mongos |
mongo/db/ftdc/libftdc_mongos.a |
| service_liaison_mongos |
mongo/db/libservice_liaison_mongos.a |
| mongos_process_interface_factory |
mongo/db/pipeline/process_interface/libmongos_process_interface_factory.a |
| config_server_health_observer |
mongo/db/process_health/libconfig_server_health_observer.a |
| fault_manager |
mongo/db/process_health/libfault_manager.a |
| cluster_server_parameter_refresher |
mongo/idl/libcluster_server_parameter_refresher.a |
| cluster_commands |
mongo/s/commands/libcluster_commands.a |
| sharded_cluster_commands |
mongo/s/commands/libsharded_cluster_commands.a |
| mongos_initializers |
mongo/s/libmongos_initializers.a |
| mongos_main |
mongo/s/libmongos_main.a |
| vector_clock_mongos |
mongo/s/libvector_clock_mongos.a |
|