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

RenameCollection oplog entry field dropTarget can have 2 types

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication
    • None
    • Replication

    Description

      The Collection Versioning design proposes changing the dropTarget field of the RenameCollection oplog entry to potentially be a boolean and potentially be a UUID. This will make it difficult to parse and handle RenameCollection oplog entries wherever we need to. One suggestion to make this easier is to split this into two fields, one that is a boolean, dropTarget, and one that is a UUID, dropTargetUUID, where the UUID field only exists if the boolean dropTarget field is true. Adding new fields is generally easier because older versions can just ignore them.

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            judah.schvimer@mongodb.com Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: