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

Enhance testing regarding inserting documents at the maximum bson size

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible

      The goal is to have more explicit regression testing around code that makes copies of documents under the hood which are typically enveloped, thus creating a nominally larger BSONObj write than the original document. We want to make sure we properly allow these larger internal writes to succeed such that the contract provided to clients of MongoDB doesn't change based on whether certain features are enabled.

      Cases to be exercised by this ticket:

      • Writes that succeed on a standalone must also succeed when replication is enabled (the document is written to the oplog).
      • Writes that succeed on a replica set, must also succeed when performing a retryable write.
        • Case 1: An image may be written to the oplog (in a document separate from the oplog entry for replicating)
        • Case 2: An image may be written to config.image_collection.

            Assignee:
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Reporter:
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: