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

Rename Collection can be allowed in Mongos

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Sharding
    • Labels:
      None

      Description

      Generally people are told we cannot rename a sharded collection. This is not strictly true, we could take a config lock and update config.collections, config.chunks to have the correct data. This should trigger a config version change that the mongos and ChunkManager would both see.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              dmurphy David Murphy
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: