Skip to content

Commit 1dff078

Browse files
kevinAlbskay-kim
authored andcommitted
DOCS-10539 geoNear and distinct may return orphans
1 parent c8b1839 commit 1dff078

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

source/reference/command/distinct.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ Definition
4848
Behavior
4949
--------
5050

51+
In a :term:`sharded cluster`, the :dbcommand:`distinct` command may return
52+
:term:`orphaned documents <orphaned document>`.
53+
5154
.. _distinct-command-array-behavior:
5255

5356
Array Fields

source/reference/command/geoNear.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ The :dbcommand:`geoNear` command provides an alternative to the
107107
:query:`$near`, :dbcommand:`geoNear` returns additional diagnostic
108108
information.
109109

110+
In a :term:`sharded cluster`, the :dbcommand:`geoNear` command may return
111+
:term:`orphaned documents <orphaned document>`. To avoid this, consider
112+
using the :pipeline:`$geoNear` aggregation stage as an alternative.
113+
110114
.. read-lock, slave-ok
111115

112116
Examples

source/reference/method/db.collection.distinct.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ Options
3939
Behavior
4040
--------
4141

42+
In a :term:`sharded cluster`, the :dbcommand:`distinct` command may return
43+
:term:`orphaned documents <orphaned document>`.
44+
4245
.. _distinct-method-behavior-array:
4346

4447
Array Fields

0 commit comments

Comments
 (0)