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
@@ -469,8 +473,12 @@ The returned document contains a subset of the following fields:
469
473
470
474
.. data:: delete.writeConcernError
471
475
472
- Document that describe error related to write concern and contains
473
- the fields:
476
+ Document describing errors that relate to the write concern.
477
+
478
+ .. |cmd| replace:: :dbcommand:`delete`
479
+ .. include:: /includes/fact-writeConcernError-mongos
480
+
481
+ The ``writeConcernError`` documents contian the following fields:
474
482
475
483
.. data:: delete.writeConcernError.code
476
484
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
@@ -314,8 +318,12 @@ The returned document contains a subset of the following fields:
314
318
315
319
.. data:: insert.writeConcernError
316
320
317
- Document that describe error related to write concern and contains
318
- the field:
321
+ Document describing errors that relate to the write concern.
322
+
323
+ .. |cmd| replace:: :dbcommand:`insert`
324
+ .. include:: /includes/fact-writeConcernError-mongos
325
+
326
+ The ``writeConcernError`` documents contain the following fields:
319
327
320
328
.. data:: insert.writeConcernError.code
321
329
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
@@ -1225,8 +1229,12 @@ The returned document contains a subset of the following fields:
1225
1229
1226
1230
.. data:: update.writeConcernError
1227
1231
1228
- Document that describe error related to write concern and contains
1229
- the field:
1232
+ Document describing errors that relate to the write concern.
1233
+
1234
+ .. |cmd| replace:: :dbcommand:`update`
1235
+ .. include:: /includes/fact-writeConcernError-mongos
1236
+
1237
+ The ``writeConcernError`` documents contain the following fields:
1230
1238
1231
1239
.. data:: update.writeConcernError.code
1232
1240
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
@@ -90,8 +94,10 @@ The :method:`WriteResult` has the following properties:
90
94
91
95
.. data:: WriteResult.writeConcernError
92
96
93
- A document that contains information regarding any write concern errors encountered
94
- during the write operation.
97
+ Document describing errors that relate to the write concern.
98
+
99
+ .. |cmd| replace:: :method:`WriteResult`
100
+ .. include:: /includes/fact-bulk-writeConcernError-mongos
95
101
96
102
.. data:: WriteResult.writeConcernError.code
97
103
You can’t perform that action at this time.
0 commit comments