Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-10557

have client drivers announce name and version on connect

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Tools
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: