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

Factor out renameCollection

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2023-02-06, Execution Team 2023-03-20, Execution Team 2023-04-03

    Description

      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()

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: