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

requestId field of message header should always be a signed integer

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.3.4
    • Affects Version/s: None
    • Component/s: Networking
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Platforms 12 (04/01/16)

      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.

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

              Created:
              Updated:
              Resolved: