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

OpObserver::onRenameCollection() dropTarget boolean argument is redundant

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.7.4
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • 89

      With UUIDs enabled by default, the dropped target collection UUID passed to the OpObserver::onRenameCollection() function is sufficient to infer the dropTarget state of the collection rename.

      This change should not be back ported to 3.6 because we may still need to generate renameCollection oplog entries with a boolean dropTarget field in the absence of UUIDs.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: