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

Avoid inspecting oplog BSON object for every insert request to change collection

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution

      The change collection code currently parses the BSON object to make various decisions.

      In the serverless, if the change collection mode is enabled, then every oplog entry will be inspected by the change collection. Examining every BSONified oplog entry might be expensive and could reduce the write performance. This ticket is about refactoring the change collection so we make such a decision by inspecting the oplogEntry IDL spec rather. It should be noted that at the time of filing this ticket, the change collection was in the development phase and no performance implications were known. This ticket is desirable but not mandatory. The priority of this ticket is also very low.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            rishab.joshi@mongodb.com Rishab Joshi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: