File tree Expand file tree Collapse file tree 7 files changed +70
-10
lines changed Expand file tree Collapse file tree 7 files changed +70
-10
lines changed Original file line number Diff line number Diff line change
1
+
2
+ .. versionchanged :: 7.1
3
+
4
+ When |cmd | is received from :program: `mongos `, write concern
5
+ errors are always reported, even when one or more write
6
+ errors occur.
7
+
8
+ In previous releases, the occurrence of write errors could
9
+ cause the |cmd | to not report write concern errors.
10
+
11
+
Original file line number Diff line number Diff line change
1
+
2
+ .. versionchanged :: 7.1
3
+
4
+ When |cmd | executes on :program: `mongos `, write concern
5
+ errors are always reported, even when one or more write
6
+ errors occur.
7
+
8
+ In previous releases, the occurrence of write errors could
9
+ cause the |cmd | to not report write concern errors.
10
+
11
+
Original file line number Diff line number Diff line change 4
4
5
5
.. default-domain:: mongodb
6
6
7
+ .. facet::
8
+ :name: genre
9
+ :values: reference
10
+
7
11
.. contents:: On this page
8
12
:local:
9
13
:backlinks: none
@@ -479,8 +483,12 @@ The returned document contains a subset of the following fields:
479
483
480
484
.. data:: delete.writeConcernError
481
485
482
- Document that describe error related to write concern and contains
483
- the fields:
486
+ Document describing errors that relate to the write concern.
487
+
488
+ .. |cmd| replace:: :dbcommand:`delete`
489
+ .. include:: /includes/fact-writeConcernError-mongos
490
+
491
+ The ``writeConcernError`` documents contian the following fields:
484
492
485
493
.. data:: delete.writeConcernError.code
486
494
Original file line number Diff line number Diff line change 4
4
5
5
.. default-domain:: mongodb
6
6
7
+ .. facet::
8
+ :name: genre
9
+ :values: reference
10
+
7
11
.. contents:: On this page
8
12
:local:
9
13
:backlinks: none
@@ -325,8 +329,12 @@ The returned document contains a subset of the following fields:
325
329
326
330
.. data:: insert.writeConcernError
327
331
328
- Document that describe error related to write concern and contains
329
- the field:
332
+ Document describing errors that relate to the write concern.
333
+
334
+ .. |cmd| replace:: :dbcommand:`insert`
335
+ .. include:: /includes/fact-writeConcernError-mongos
336
+
337
+ The ``writeConcernError`` documents contain the following fields:
330
338
331
339
.. data:: insert.writeConcernError.code
332
340
Original file line number Diff line number Diff line change 4
4
5
5
.. default-domain:: mongodb
6
6
7
+ .. facet::
8
+ :name: genre
9
+ :values: reference
10
+
7
11
.. contents:: On this page
8
12
:local:
9
13
:backlinks: none
@@ -1236,8 +1240,12 @@ The returned document contains a subset of the following fields:
1236
1240
1237
1241
.. data:: update.writeConcernError
1238
1242
1239
- Document that describe error related to write concern and contains
1240
- the field:
1243
+ Document describing errors that relate to the write concern.
1244
+
1245
+ .. |cmd| replace:: :dbcommand:`update`
1246
+ .. include:: /includes/fact-writeConcernError-mongos
1247
+
1248
+ The ``writeConcernError`` documents contain the following fields:
1241
1249
1242
1250
.. data:: update.writeConcernError.code
1243
1251
Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ BulkWriteResult()
6
6
7
7
.. default-domain:: mongodb
8
8
9
+ .. facet::
10
+ :name: programming_language
11
+ :values: shell
12
+
9
13
.. contents:: On this page
10
14
:local:
11
15
:backlinks: none
@@ -129,8 +133,12 @@ property with the following fields:
129
133
130
134
.. data:: writeConcernError
131
135
132
- Document that describes the error related to write concern and
133
- contains the fields:
136
+ Document describing errors that relate to the write concern.
137
+
138
+ .. |cmd| replace:: :method:`BulkWriteResult`
139
+ .. include:: /includes/fact-bulk-writeConcernError-mongos
140
+
141
+ The ``writeConcernError`` documents contains the following fields:
134
142
135
143
.. data:: writeConcernError.code
136
144
Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ WriteResult()
4
4
5
5
.. default-domain:: mongodb
6
6
7
+ .. facet::
8
+ :name: programming_language
9
+ :values: shell
10
+
7
11
.. contents:: On this page
8
12
:local:
9
13
:backlinks: none
@@ -98,8 +102,10 @@ The :method:`WriteResult` has the following properties:
98
102
99
103
.. data:: WriteResult.writeConcernError
100
104
101
- A document that contains information regarding any write concern errors encountered
102
- during the write operation.
105
+ Document describing errors that relate to the write concern.
106
+
107
+ .. |cmd| replace:: :method:`WriteResult`
108
+ .. include:: /includes/fact-bulk-writeConcernError-mongos
103
109
104
110
.. data:: WriteResult.writeConcernError.code
105
111
You can’t perform that action at this time.
0 commit comments