[SERVER-9171] Add section into wire protocol that allows a driver to add additional info Created: 29/Mar/13  Updated: 30/Mar/13  Resolved: 29/Mar/13

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 2.4.0
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Alvin Richards (Inactive) Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-72 handshake optional parameters for dri... Closed
Participants:

 Description   

Problem:
From the mongod process its not clear what drivers are communicating to the server and which versions. In mixed environments this get even more complex, esp if there is a issue caused by a specific client / driver.

Solution:

  • allow the driver to add a sub-document into the BSON sent that allows it to define driver specifc information, for example
    • driver version
    • language
    • client side config (e.g. timeouts)

Benefits:

  • added information that could help more accurately diagnose issues
  • more information means less information a customer has to be asked to diagnose a problem
  • information could be displayed in MMS
  • enable easy identification of clients that would require an upgrade, e.g. PHP 5.2 being phased out, specific bug in Java driver that customer needs to upgrade to avoid

Downsides:

  • messages would increase in side, if done per message
  • could be avoid if info passed when connection is established


 Comments   
Comment by Eliot Horowitz (Inactive) [ 29/Mar/13 ]

SERVER-72

Generated at Thu Feb 08 03:19:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.