summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_sources.idl
diff options
context:
space:
mode:
authorBernard Gorman <bernard.gorman@gmail.com>2018-04-05 19:52:33 +0100
committerBernard Gorman <bernard.gorman@gmail.com>2018-04-12 03:08:55 +0100
commitd5fb9cf6f4a26ebdc6d01e24ae73f29c29703b3c (patch)
tree4b8ab5f162268f6821a41b65175a191eb49c97c1 /src/mongo/db/pipeline/document_sources.idl
parentb299eabdf833eb85c2f205c847d6fc38910aefb1 (diff)
downloadmongo-d5fb9cf6f4a26ebdc6d01e24ae73f29c29703b3c.tar.gz
SERVER-34086 Add ability to watch all changes for an entire replica set
Diffstat (limited to 'src/mongo/db/pipeline/document_sources.idl')
-rw-r--r--src/mongo/db/pipeline/document_sources.idl6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/document_sources.idl b/src/mongo/db/pipeline/document_sources.idl
index 835fdbcb5ab..df287295d2c 100644
--- a/src/mongo/db/pipeline/document_sources.idl
+++ b/src/mongo/db/pipeline/document_sources.idl
@@ -95,6 +95,12 @@ structs:
default: '"default"'
description: A string '"updateLookup"' or '"default"', indicating whether or not we
should return a full document or just changes for an update.
+ allChangesForCluster:
+ cpp_name: allChangesForCluster
+ type: bool
+ default: false
+ description: A flag indicating whether the stream should report all changes that occur
+ on the deployment, aside from those on internal databases or collections.
ListSessionsUser:
description: "A struct representing a $listSessions/$listLocalSessions User"