-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Querying, Replication
-
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) } } }