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

Make applyOps command extract entries via IDL

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication, Storage
    • None
    • Replication

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            spencer.jackson@mongodb.com Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: