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 44
55.. default-domain:: mongodb
66
7+ .. facet::
8+ :name: genre
9+ :values: reference
10+
711.. contents:: On this page
812 :local:
913 :backlinks: none
@@ -479,8 +483,12 @@ The returned document contains a subset of the following fields:
479483
480484.. data:: delete.writeConcernError
481485
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:
484492
485493 .. data:: delete.writeConcernError.code
486494
Original file line number Diff line number Diff line change 44
55.. default-domain:: mongodb
66
7+ .. facet::
8+ :name: genre
9+ :values: reference
10+
711.. contents:: On this page
812 :local:
913 :backlinks: none
@@ -325,8 +329,12 @@ The returned document contains a subset of the following fields:
325329
326330.. data:: insert.writeConcernError
327331
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:
330338
331339 .. data:: insert.writeConcernError.code
332340
Original file line number Diff line number Diff line change 44
55.. default-domain:: mongodb
66
7+ .. facet::
8+ :name: genre
9+ :values: reference
10+
711.. contents:: On this page
812 :local:
913 :backlinks: none
@@ -1236,8 +1240,12 @@ The returned document contains a subset of the following fields:
12361240
12371241.. data:: update.writeConcernError
12381242
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:
12411249
12421250 .. data:: update.writeConcernError.code
12431251
Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ BulkWriteResult()
66
77.. default-domain:: mongodb
88
9+ .. facet::
10+ :name: programming_language
11+ :values: shell
12+
913.. contents:: On this page
1014 :local:
1115 :backlinks: none
@@ -129,8 +133,12 @@ property with the following fields:
129133
130134.. data:: writeConcernError
131135
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:
134142
135143 .. data:: writeConcernError.code
136144
Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ WriteResult()
44
55.. default-domain:: mongodb
66
7+ .. facet::
8+ :name: programming_language
9+ :values: shell
10+
711.. contents:: On this page
812 :local:
913 :backlinks: none
@@ -98,8 +102,10 @@ The :method:`WriteResult` has the following properties:
98102
99103.. data:: WriteResult.writeConcernError
100104
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
103109
104110 .. data:: WriteResult.writeConcernError.code
105111
You can’t perform that action at this time.
0 commit comments