From 1845d2dcbb177c98d3890229f9269df34dd23a0b Mon Sep 17 00:00:00 2001 From: ravind Date: Mon, 7 Dec 2015 16:35:33 -0500 Subject: [PATCH 1/2] DOCS-6620 : getMORE maxTimeMS should specify awaitData behavior --- source/includes/apiargs-dbcommand-getMore-field.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/source/includes/apiargs-dbcommand-getMore-field.yaml b/source/includes/apiargs-dbcommand-getMore-field.yaml index 3c3ce22589e..37626660ff3 100644 --- a/source/includes/apiargs-dbcommand-getMore-field.yaml +++ b/source/includes/apiargs-dbcommand-getMore-field.yaml @@ -32,7 +32,12 @@ position: 4 name: maxTimeMS type: positive integer description: | - The timeout duration in milliseconds. + The time period in milliseconds the :dbcommand:`getMore()` operation will + block waiting for new data to be inserted into the capped collection. + + Requires that the cursor on which this :dbcommand:`getMore()` is acting is + an ``awaitData`` cursor. + See the ``awaitData`` parameter for :dbcommand:`find()`. optional: true arg_name: field interface: dbcommand From da776b7ac5b13b14dc5752ba1279411d749b46d0 Mon Sep 17 00:00:00 2001 From: Ravind Kumar Date: Tue, 8 Dec 2015 09:32:48 -0500 Subject: [PATCH 2/2] Update apiargs-dbcommand-getMore-field.yaml --- source/includes/apiargs-dbcommand-getMore-field.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/includes/apiargs-dbcommand-getMore-field.yaml b/source/includes/apiargs-dbcommand-getMore-field.yaml index 37626660ff3..ef63481efd8 100644 --- a/source/includes/apiargs-dbcommand-getMore-field.yaml +++ b/source/includes/apiargs-dbcommand-getMore-field.yaml @@ -32,7 +32,7 @@ position: 4 name: maxTimeMS type: positive integer description: | - The time period in milliseconds the :dbcommand:`getMore()` operation will + The maximum time period in milliseconds the :dbcommand:`getMore()` operation will block waiting for new data to be inserted into the capped collection. Requires that the cursor on which this :dbcommand:`getMore()` is acting is