Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-5204

Remove unused remnants of OP_REPLY

    • Fully Compatible
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      In the old wire protocol, the server responded to all wire protocol messages with an OP_REPLY wire protocol message.  With OPM_MSG, the server now responds with OP_MSG.  The only remaining driver functionality that requires OP_REPLY handling is the initial handshake, which is still initiated with OP_QUERY.

      However, the driver still has code in both ReplyHeader and ReplyMessage that handles the full range of OP_REPLY responses.  That code is unused except in tests and can be removed. 

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: