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

Prohibit creating a view with $changeStream

    • Fully Compatible
    • ALL
    • Query 2017-10-23

      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)
                      }
              }
      }
      

            Assignee:
            bernard.gorman@mongodb.com Bernard Gorman
            Reporter:
            kyle.suarez@mongodb.com Kyle Suarez
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: