summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/getmore_command.idl
diff options
context:
space:
mode:
authorAlya Berciu <alyacarina@gmail.com>2021-05-17 18:19:15 +0100
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-05-24 09:10:39 +0000
commit1059d33fa4a0d5c747a1115f0853b5f70e46f112 (patch)
tree8df47fa9cab779c578f9f52057ccccb6c1d46f15 /src/mongo/db/query/getmore_command.idl
parent3f14978f40cfe899b632c43f498117080db42c77 (diff)
downloadmongo-1059d33fa4a0d5c747a1115f0853b5f70e46f112.tar.gz
SERVER-55015 Replace GetMoreRequest with IDL-generated GetMoreCommand
Diffstat (limited to 'src/mongo/db/query/getmore_command.idl')
-rw-r--r--src/mongo/db/query/getmore_command.idl10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/mongo/db/query/getmore_command.idl b/src/mongo/db/query/getmore_command.idl
index c68cba81feb..abade014f94 100644
--- a/src/mongo/db/query/getmore_command.idl
+++ b/src/mongo/db/query/getmore_command.idl
@@ -53,18 +53,26 @@ commands:
type: string
validator: { callback: "query_request_helper::validateGetMoreCollectionName" }
batchSize:
+ description: >
+ The batch size is optional. If not provided, we will put as many documents into the batch
+ as fit within the byte limit.
type: safeInt64
optional: true
validator: {gte: 0}
maxTimeMS:
- description: "The awaitData timeout."
+ description: >
+ The await data timeout: the number of milliseconds for which a getMore on a tailable,
+ awaitData query should block.
type: safeInt64
optional: true
term:
+ description: >
+ Only internal queries from replication will typically have a term.
type: long
optional: true
unstable: true
lastKnownCommittedOpTime:
+ description: Only internal queries from replication will have a last known committed optime.
type: optime
optional: true
unstable: true