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

Check for sharded collections in renameCollectionLegacy

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • Sharding 2021-01-25

    Description

      Rename collection code is currently checking if collections are sharded in several parts, sometimes relying on skipSourceCollectionShardedCheck to decide whether to skip such checks.

      Ideally, the check can be performed just once in the new command path, before ending up in the actual rename collection code.

      Attachments

        Activity

          People

            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: