File tree 3 files changed +14
-5
lines changed
reference/operator/aggregation
3 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -46,14 +46,14 @@ Definition
46
46
information, see :ref:`merge-behavior-same-collection`.
47
47
48
48
- Pipelines with the :pipeline:`$merge` stage can run on
49
- `` replica set secondary nodes`` if all the nodes in cluster have
49
+ replica set secondary nodes if all the nodes in cluster have
50
50
:ref:`featureCompatibilityVersion <view-fcv>` set
51
51
to ``4.4`` or higher and the :doc:`/core/read-preference`
52
52
allows secondary reads.
53
53
54
54
- Read operations of the :pipeline:`$merge` statement are sent to
55
- `` secondary`` nodes, while the write operations occur only on the
56
- `` primary`` nodes .
55
+ secondary nodes, while the write operations occur only on the
56
+ primary node .
57
57
58
58
- Not all driver versions support targeting of :pipeline:`$merge`
59
59
operations to replica set secondary nodes. Check your
Original file line number Diff line number Diff line change @@ -155,14 +155,23 @@ $out Read Operations Run on Secondary Replica Set Members
155
155
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
156
156
157
157
Starting in MongoDB 4.4, :pipeline:`$out` can run on
158
+ <<<<<<< HEAD
158
159
``replica set secondary nodes`` if all the nodes in
160
+ =======
161
+ replica set secondary nodes if all the nodes in
162
+ >>>>>>> 257a0b2f8 (DOCS-13479 Add note for 5.1 out and merge behavior on RS)
159
163
cluster have :ref:`featureCompatibilityVersion <view-fcv>` set
160
164
to ``4.4`` or higher and the :doc:`/core/read-preference` is set to
161
165
secondary.
162
166
163
167
Read operations of the :pipeline:`$out` statement occur on the
168
+ <<<<<<< HEAD
164
169
``secondary`` nodes, while the write operations occur only on the
165
170
``primary`` nodes.
171
+ =======
172
+ secondary nodes, while the write operations occur only on the
173
+ primary nodes.
174
+ >>>>>>> 257a0b2f8 (DOCS-13479 Add note for 5.1 out and merge behavior on RS)
166
175
167
176
Not all driver versions support targeting of :pipeline:`$out`
168
177
operations to replica set secondary nodes. Check your
Original file line number Diff line number Diff line change @@ -394,7 +394,7 @@ Starting in MongoDB 4.4:
394
394
output to a collection in the same database database where the
395
395
aggregation is run.
396
396
397
- - :pipeline:`$out` can only run on `` replica set secondary nodes`` if
397
+ - :pipeline:`$out` can only run on replica set secondary nodes if
398
398
all the nodes in cluster have
399
399
:ref:`featureCompatibilityVersion <view-fcv>` set to ``4.4`` or
400
400
higher and the :doc:`/core/read-preference` allows secondary reads.
@@ -434,7 +434,7 @@ Starting in MongoDB 4.4:
434
434
only output to a collection in the same database where the aggregation
435
435
is run.
436
436
437
- - :pipeline:`$merge` can only run on `` replica set secondary nodes`` if
437
+ - :pipeline:`$merge` can only run on replica set secondary nodes if
438
438
all the nodes in cluster have
439
439
:ref:`featureCompatibilityVersion <view-fcv>` set to ``4.4`` or
440
440
higher and the :doc:`/core/read-preference` allows secondary reads.
You can’t perform that action at this time.
0 commit comments