have client drivers announce name and version on connect

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Tools
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      It would be really handy for debugging and stats if client drivers would announce their name and version when they connect to the server, something like the user-agent strings that web browsers send to httpd's, e.g. by adding a new API command that simply gave the driver version info, and creating a convention that drivers should send it on connect. Obviously it would have to be optional in order to not break old clients. However, I see the meta driver specification is in progress, so that seems like a good opportunity to add this. These would be of considerable help in troubleshooting various version-incompatibility problems, and would also help figure out what drivers were the most popular for purposes of allocating developer attention. It's common for people to connect to a single MongoDB server with a lot of different clients and it would be good to be able to tell from the server logs what has been happening.

              Assignee:
              Unassigned
              Reporter:
              Paul Rubin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: