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

NetworkInterfaceASIO does not always initialize messageId and responseTo

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.1.9
    • None
    • Networking
    • None
    • Fully Compatible
    • ALL
    • Platform A (10/09/15)

    Description

      found with valgrinding the stress test.

      we initialize the messageId in messageFromRequest(), but in some cases we manually create a message (e.g. the LegacyRequest used for sending isMasters) and do not go through messageFromRequest(). In that case the messageId will be uninitialized. Also, responseTo() was always uninitialized. We should initialize it to 0.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: