-
Type: New Feature
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Wire Protocol
-
None
When Motor connects to the server, it appears like a PyMongo connection: the client handshake metadata includes only PyMongo's name and version, not Motor's.
We had the same problem with drivers that wrap the C Driver. We solved it with an option to combine the façade driver's name and version with the C Driver's:
"driver" : { "name" : "mongoc / PHP Driver", "version" : "1.10.0 / 1.2.3" }
Let's add an option to PyMongo's MongoClient:
MongoClient(driver=("Motor", "1.3.0"))
PyMongo will then send to the server:
"driver" : { "name" : "PyMongo / Motor", "version" : "3.7.0 / 1.3.0" }
- is depended on by
-
MOTOR-227 Implement The MongoDB Handshake Protocol
- Closed
- is duplicated by
-
MOTOR-465 Add client metadata support for wrapping libraries
- Closed
- is related to
-
PYTHON-2052 PyMongo does not truncate client metadata document to 512 bytes
- Closed
-
PYTHON-3637 Add MongoEngine version to handshake metadata
- Closed
- related to
-
MOTOR-356 Cannot use MOTOR with PyMongo 3.6.x
- Closed
-
PYTHON-1119 Implement The MongoDB Handshake Protocol
- Closed