[DRIVERS-397] OP_MSG support Created: 18/Jul/17  Updated: 28/Oct/23  Resolved: 12/Feb/19

Status: Closed
Project: Drivers
Component/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Rathi Gnanasekaran Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CDRIVER-2219 OP_MSG support Closed
depends on CSHARP-2020 OP_MSG support Closed
depends on CSHARP-2205 OP_MSG type 1 payload support Closed
depends on CXX-1405 OP_MSG support Closed
depends on GODRIVER-54 OP_MSG support Closed
depends on JAVA-2563 OP_MSG support Closed
depends on MOTOR-168 OP_MSG support Closed
depends on NODE-1085 OP_MSG support Closed
depends on PHPC-979 OP_MSG support Closed
depends on PYTHON-1329 Support OP_MSG Closed
depends on RUBY-1225 OP_MSG support Closed
depends on TOOLS-1755 OP_MSG support Closed
is depended on by DRIVERS-535 Support Exhaust Cursor in OP_MSG Closed
Server Compat: 3.6
Start date:
Driver Compliance:
Key Status/Resolution FixVersion
NODE-1085 Fixed 3.2.0
PYTHON-1329 Fixed 3.7
SCALA-326 Works as Designed 2.2.0
JAVA-2563 Fixed 3.6.0
CSHARP-2020 Fixed 2.7.0
CXX-1405 Done 3.2.0
PHPC-979 Done 1.4.0-beta1, 1.4.0
RUBY-1225 Fixed 2.5.0
CDRIVER-2219 Fixed 1.9.0
PERL-789 Fixed 2.1.0
GODRIVER-54 Fixed 0.0.9
MOTOR-168 Fixed 2.0
CSHARP-2205 Fixed 2.7.0
SWIFT-177 Works as Designed

 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;]
};



 Comments   
Comment by Githook User [ 18/Jul/17 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: DRIVERS-397 OP_MSG: One opcode to rule them all
Branch: master
https://github.com/mongodb/specifications/commit/560e0e7baf71623175624dc53a6c43de14d5fe66

Generated at Thu Feb 08 08:21:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.