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

requestId field of message header should always be a signed integer

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 3.3.4
    • None
    • Networking
    • None
    • Fully Compatible
    • ALL
    • Platforms 12 (04/01/16)

    Description

      In the wire protocol documentation we specify that requestId and responseTo are int32_t.

      In MsgData::ConstView, we declare the return type of getId() and getResponseTo() to be of type MSGID, which is a typedef of uint32_t. We should either remove the MSGID typedef or change it to be int32_t.

      Attachments

        Activity

          People

            waley.chen Waley Chen
            adam.midvidy Adam Midvidy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: