-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
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.