-
Type: Epic
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Done
-
mongodb-handshake
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>" } })
- is depended on by
-
PHPC-757 Implement The MongoDB Handshake Protocol
- Closed
- is related to
-
DRIVERS-304 MongoDB Handshake protocol
- Closed
- related to
-
CDRIVER-1511 /Client/sends_handshake_single test failure
- Closed
-
CDRIVER-2516 assert fails formatting handshake metadata with long platform string
- Closed
-
CDRIVER-2860 Client created after mongoc_cleanup sends garbage handshake metadata
- Closed
-
CDRIVER-1373 MongoDB 3.4 Support
- Development Complete
-
CDRIVER-1467 Rename "metadata" to "handshake" in 1.5
- Closed