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

Make applyOps command extract entries via IDL

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication, Storage
    • None
    • Replication

      Oplog entries are very strongly structured. The applyOps command inspects them to ensure they are well formed, and to perform authorization checks. They are a good candidate for IDLification. An IDL generated parser would more efficiently extract all the relevant fields, without having to perform multiple linear scans across the provided BSON objects.

      Note that the existing IDL descriptions for oplog tokens assume that 'ts' fields are mandatory. This is not necessarily be true for tokens presented via applyOps. Some adjustment, or contextualization of parsing will be required.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            spencer.jackson@mongodb.com Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: