File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 1+ Starting in MongoDB 7.2, aggregation pipeline queries that attempt to
2+ use non-existent databases on :ref: `mongos <mongos >` deployments return
3+ validation errors.
4+
5+ In previous versions, these aggregation queries return empty cursors.
Original file line number Diff line number Diff line change @@ -24,6 +24,13 @@ New Bulk Write Command
2424
2525.. include:: /includes/bulkWrite-introduction.rst
2626
27+ .. _7.2-mongos-db-aggregation-validation:
28+
29+ Database Validation on ``mongos`` Aggregation Queries
30+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31+
32+ .. include:: /includes/fact-mongos-db-agg-validation.rst
33+
2734.. _7.2-rel-notes-serverStatus:
2835
2936``serverStatus`` Metrics
Original file line number Diff line number Diff line change @@ -200,6 +200,11 @@ in the following example:
200200
201201 myCursor.objsLeftInBatch();
202202
203+ Cursor Results for Non-Existent ``mongos`` Databases
204+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
205+
206+ .. include:: /includes/fact-mongos-db-agg-validation.rst
207+
203208Cursor Information
204209------------------
205210
You can’t perform that action at this time.
0 commit comments