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

XMLWordPrintableJSON

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

      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:
              [DO NOT USE] Backlog - Query Execution
              Reporter:
              Rishab Joshi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: