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

Renaming collection for applyOps needs to check completeness of target namespace

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.0, v3.6, v3.4
    • Sprint:
      Repl 2019-02-25, Repl 2019-03-11
    • Linked BF Score:
      49

      Description

      The renameCollection command will return an error if the target namepace string is not in the form of "database.collection", but the applyOps codepath has no check for that, which can lead to an invariant failure.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: