Entire message size exceeds max message limit of 48000000

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • 2.5.2
    • Affects Version/s: 2.5.0
    • Component/s: None
    • None
    • None
    • Go Drivers
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      Detailed steps to reproduce the problem?

      InsertMany large number of documents that exceeds maxMessageByte limit (48000000) 

      Definition of done: what must be done to consider the task complete?

      All documents should be divided into batches that do not exceed maxMessageByte limit

      The exact Go version used, with patch level:

      go version go1.25.3 linux/amd64

      The exact version of the Go driver used:

      go.mongodb.org/mongo-driver/v2 v2.5.0

      Describe how MongoDB is set up. Local vs Hosted, version, topology, load balanced, etc.

      local container

      The operating system and version (e.g. Windows 7, OSX 10.8, ...)

      Ubuntu 22.04.5 LTS (6.8.0-107-generic)

      Security Vulnerabilities

      If you’ve identified a security vulnerability in a driver or any other MongoDB project, please report it according to the instructions here

            Assignee:
            Qingyang Hu
            Reporter:
            Konrad P
            None
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: