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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Query Execution

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: