Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-397

OP_MSG support

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • None

    Description

      https://github.com/mongodb/specifications/blob/master/source/message/OP_MSG.rst

      struct Section {
          uint8 payloadType;
          union payload {
              document  document; // payloadType == 0
              struct sequence { // payloadType == 1
                  int32      size;
                  cstring    identifier;
                  document*  documents;
              };
          };
      };
       
      struct OP_MSG {
          struct MsgHeader {
              int32  messageLength;
              int32  requestID;
              int32  responseTo;
              int32  opCode = 2013;
          };
          uint32      flagBits;
          Section+    sections;
          [uint32     checksum;]
      };
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rathi.gnanasekaran Rathi Gnanasekaran
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: