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

Do not allow rename from unreplicated to replicated DB or vice-versa

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.0, v3.6, v3.4
    • Sprint:
      Repl 2018-10-22, Repl 2018-11-05
    • Linked BF Score:
      53

      Description

      We currently allow renameCollection from the "local" database to a replicated database. This doesn't make a lot of sense; the local collections may be different on each replica, so doing so will result in an inconsistent set.

      We also allow renameCollection from a replicated DB to an unreplicated one; this usually works but will cause problems if the local collection exists and dropExisting isn't specified.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vesselina.ratcheva Vesselina Ratcheva
              Reporter:
              matthew.russotto Matthew Russotto
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: