GitOrigin-RevId: c27c15ad5f3ee660b08a6a1c129066edd0a7f8c9
15 KiB
MongoDB Third Party Dependencies
MongoDB depends on third party libraries to implement some functionality. This document describes which libraries are depended upon, and how. It is maintained by and for humans, and so while it is a best effort attempt to describe the server's dependencies, it is subject to change as libraries are added or removed.
Server Vendored Libraries
This is the list of third party libraries vendored into the server codebase, and the upstream source where updates may be obtained. These sources are periodically consulted, and the existence of new versions is reflected in this list. A ticket is filed in Jira if a determination is made to upgrade a vendored library.
Whenever a vendored library is included in released binary artifacts, is
not authored by MongoDB, and has a license which requires reproduction,
a notice will be included in
THIRD-PARTY-NOTICES
.
Name | License | Vendored Version | Emits persisted data | Distributed in Release Binaries |
---|---|---|---|---|
abseil-cpp | Apache-2.0 | 20230802.1 | ✗ | |
[Aladdin MD5] | Zlib | Unknown | ✗ | ✗ |
ASIO | BSL-1.0 | 1.12.2 | ✗ | |
benchmark | Apache-2.0 | 1.5.2 | ||
Boost | BSL-1.0 | 1.79.0 | ✗ | |
[c-ares] | MIT | 1.19.1 | ✗ | |
CRoaring | Apache-2.0/ MIT | 2.1.2.1 | ✗ | |
fmt | BSD-2-Clause | 7.1.3 | ✗ | |
GPerfTools | BSD-3-Clause | 2.9.1 | ✗ | |
gRPC | Apache-2.0 | 1.59.2 | ✗ | |
ICU4 | ICU | 57.1 | ✗ | ✗ |
immer | BSL-1.0 | d98a68c + changes | ✗ | |
Intel Decimal FP Library | BSD-3-Clause | 2.0 Update 1 | ✗ | |
JSON-Schema-Test-Suite | MIT | 728066f9c5 | ||
libstemmer | BSD-3-Clause | Unknown | ✗ | ✗ |
librdkafka | BSD-2-Clause | 2.0.2 | ||
libmongocrypt | Apache-2.0 | 1.8.4 | ✗ | ✗ |
linenoise | BSD-3-Clause | 6cdc775 + changes | ✗ | |
mongo-c-driver | Apache-2.0 | 1.27.1 | ✗ | ✗ |
MozJS | MPL-2.0 | ESR 115.7 | ✗ | |
MurmurHash3 | Public Domain | a6bd3ce + changes | ✗ | ✗ |
ocspbuilder | MIT | 0.10.2 | ||
ocspresponder | Apache-2.0 | 0.5.0 | ||
pcre2 | BSD-3-Clause | 10.40 | ✗ | |
protobuf | BSD-3-Clause | 4.25.0 | ✗ | |
[re2] | BSD-3-Clause | 2021-09-01 | ✗ | |
S2 | Apache-2.0 | c872048da5d1 + changes | ✗ | ✗ |
SafeInt | MIT | 3.0.26 | ||
schemastore.org | Apache-2.0 | 6847cfc3a1 | ||
scons | MIT | 3.1.2 | ||
Snappy | BSD-3-Clause | 1.1.10 | ✗ | ✗ |
TCMalloc | Apache-2.0 | 093ba93 + changes | ✗ | |
timelib | MIT | 2022.10 | ✗ | |
TomCrypt | Public Domain | 1.18.2 | ✗ | ✗ |
Unicode | Unicode-DFS-2015 | 8.0.0 | ✗ | ✗ |
libunwind | MIT | 1.6.2 + changes | ✗ | |
lz4 | BSD-2-Clause | 1.9.3 | ✗ | |
Valgrind | BSD-4-Clause[1] | 3.17.0 | ✗ | |
wiredtiger | [2] | ✗ | ✗ | |
xxHash | BSD-2-Clause | 0.8.0 | ✗ | |
yaml-cpp | MIT | 0.6.3 | ✗ | |
Zlib | Zlib | 1.3 | ✗ | ✗ |
Zstandard | BSD-3-Clause | 1.5.5 | ✗ | ✗ |
zydis | MIT | 4d4fe4c293c5438f32688b14b29017ae3f48369e | ✗ |
WiredTiger Vendored Test Libraries
The following Python libraries are transitively included by WiredTiger, and are used by that component for testing. They don't appear in released binary artifacts.
Name |
---|
concurrencytest |
discover |
extras |
iso8601 |
nlohmann/json |
python-subunit |
testscenarios |
testtools |
Dynamically Linked Libraries
Sometimes MongoDB needs to load libraries provided and managed by the runtime environment. These libraries are not vendored into the MongoDB source directory, and are not compiled into release artifacts. Because they are provided by the runtime environment, the precise versions of these libraries cannot be known in advance. Further, these libraries may themselves load other libraries. The full set of transitively linked libraries will depend on the runtime environment, and cannot be outlined here. On Windows and Mac OS, other libraries and components provided by the Operating System may be loaded.
For Windows Enterprise, we may ship precompiled DLLs containing some of
these libraries. Releases prepared in this fashion will include a copy
of these libraries' license in a file named
THIRD-PARTY-NOTICES.windows
.
Name | Enterprise Only | Has Windows DLLs |
---|---|---|
Cyrus SASL | Yes | Yes |
libldap | Yes | No |
net-snmp | Yes | Yes |
OpenSSL | No | Yes[3] |
libcurl | No | No |
Notes:
-
^ The majority of Valgrind is licensed under the GPL, with the exception of a single header file which is licensed under a BSD license. This BSD licensed header is the only file from Valgrind which is vendored and consumed by MongoDB.
-
^ WiredTiger is maintained by MongoDB in a separate repository. As a part of our development process, we periodically ingest the latest snapshot of that repository.
-
^ OpenSSL is only shipped as a dependency of the MongoDB tools written in Go. The MongoDB shell and server binaries use Windows' cryptography APIs.