Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-12179

Docs for SERVER-29825: Do not allow rename from unreplicated to replicated DB or vice-versa

    XMLWordPrintable

    Details

      Description

      Description

      Description:

      Probably worth making a quick note of this restriction

      Engineering Ticket 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.

      Scope of changes

      • Will add to renameCollection command behavior (but without version) (shell method cannot rename to a different database - so no change there)

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kay.kim Kay Kim (Inactive)
              Reporter:
              kay.kim Kay Kim (Inactive)
              Participants:
              Last commenter:
              Kay Kim (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since reply:
                1 year, 34 weeks, 1 day ago
                Date of 1st Reply: