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

Optimize serialization behavior for $changeStreamSplitLargeEvent

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0, 6.0.7
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v6.0
    • QE 2023-03-06, QE 2023-03-20, QE 2023-04-03, QE 2023-04-17

      • Allow 'BSONObj::LargeSizeTrait' to Document::toBsonWithMetadata() method.
      • Make Document::toBsonWithMetadata() and Document::fromBsonWithMetadata() use 'trivial' conversion. In other words, documents created with myDoc.fromBsonWithMetadata(otherDocument.toBsonWithMetadata()) and not modified afterwarrds should re-use the storage and not serialize again when myDoc.toBsonWithMetadata() is called.
      • Avoid unnecessary serializations in PlanExecutorPipeline and in change_stream_split_event::splitChangeEvent.

            Assignee:
            romans.kasperovics@mongodb.com Romans Kasperovics
            Reporter:
            romans.kasperovics@mongodb.com Romans Kasperovics
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: