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

Factor out renameCollection

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Execution Team 2023-02-06, Execution Team 2023-03-20, Execution Team 2023-04-03

      It would improve readability to not share so much code between disparate cases in renameCollectionAcrossDatabases.

       

      There are roughly 3 types of renames:

      • replication turned off
      • individual oplog inserts
      • batched writes

      Additionally, narrow down from 2 to 1 implementations of renameBetweenDBs/renameCollectionAcrossDatabases()

            Assignee:
            matt.kneiser@mongodb.com Matt Kneiser
            Reporter:
            matt.kneiser@mongodb.com Matt Kneiser
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: