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

Prohibit creating a view with $changeStream

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Epic Link:
    • Sprint:
      Query 2017-10-23

      Description

      You should not be able to create a view with $changeStream.

      replSet:PRIMARY> db.createView("view", "coll", [{$changeStream: {}}])
      {
              "ok" : 1,
              "operationTime" : Timestamp(1506631823, 2),
              "$clusterTime" : {
                      "clusterTime" : Timestamp(1506631823, 2),
                      "signature" : {
                              "hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
                              "keyId" : NumberLong(0)
                      }
              }
      }
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: