-
Type: New Feature
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Component/s: None
-
None
https://github.com/mongodb/specifications/blob/master/source/mongodb-handshake/handshake.rst
TL;DR: Every socket connecting to MongoDB MUST issue isMaster announcing itself to the server with the following pseudo document.
There is also new connection URI field appname the user can provide (client.application.name) which the server will write out in its logs and profile entries, making correlating server log entries to respective applications trivial.
isMaster({ client: { /* OPTIONAL. If present, the "name" is REQUIRED */ application: { name: "<string>" }, /* REQUIRED, including all sub fields */ driver: { name: "<string>", version: "<string>" }, /* REQUIRED */ os: { type: "<string>", /* REQUIRED */ name: "<string>", /* OPTIONAL */ architecture: "<string>", /* OPTIONAL */ version: "<string>" /* OPTIONAL */ }, /* OPTIONAL */ platform: "<string>" } })
- depends on
-
CSHARP-1730 Implement The MongoDB Handshake Protocol
- Closed
-
CXX-981 Implement The MongoDB Handshake Protocol
- Closed
-
JAVA-2266 Implement The MongoDB Handshake Protocol
- Closed
-
MOTOR-227 Implement The MongoDB Handshake Protocol
- Closed
-
NODE-765 Implement The MongoDB Handshake Protocol
- Closed
-
PHPC-757 Implement The MongoDB Handshake Protocol
- Closed
-
PYTHON-1119 Implement The MongoDB Handshake Protocol
- Closed
-
RUBY-1136 Implement The MongoDB Handshake Protocol
- Closed
-
SERVER-72 handshake optional parameters for driver name/version
- Closed
-
RUST-1 Implement The MongoDB Handshake Protocol
- Closed
- is related to
-
CXX-978 Add application name and driver version to the MongoDB handshake
- Closed
-
SERVER-24611 Implement ClientMetadata class
- Closed
- related to
-
CDRIVER-1325 Implement The MongoDB Handshake Protocol
- Development Complete