Skip to content

Commit 888fad6

Browse files
kennethdyerjmd-mongoDave Cuthbertbiniona-mongodbjordan-smith721
authored
DOCSP-25224 EOL Version Cleanup of mongosh Methods (#1901)
* DOCSP-25224 version cleanup in Method Reference * DOCSP-25224 version cleanup in Method Reference * DOCSP-25224 version cleanup in Method Reference * DOCSP-25224 version cleanup in Method Reference * DOCSP-25224 version cleanup in Method Reference * DOCSP-25224 version cleanup in Method Reference * DOCSP-25224 version cleanup in Method Reference * DOCSP-25224 version cleanup in Method Reference * DOCSP-25224 version cleanup in Method Reference * DOCSP-25224 version cleanup in Method Reference * DOCSP-25224 version cleanup in Method Reference * DOCSP-25224 version cleanup in Method Reference * DOCSP-25224 version cleanup in Method Reference * DOCSP-25224 version cleanup in Method Reference * DOCSP-25224 version cleanup in Method Reference * DOCSP-25224 version cleanup in Method Reference * DOCSP-25224 version cleanup in Method Reference * DOCSP-25224 redirects * DOCSP-25224 Updates redirects, removes copyDatabase and cloneDatabase as deprecated * DOCSP-25224 Update for build * DOCSP-25224 Update for build * DOCSP-25224 Fixes build errors * DOCSP-25224 Fixes per Jocelyn * DOCSP-25224 Fixes per Jocelyn * DOCSP-25224 Fixes per Jocelyn * DOCSP-25224 Fixes per Jocelyn * DOCSP-25224 Fixes per Jocelyn * DOCS-15377 Fixes per Jocelyn * DOCSP-25890 adds page-level refs to pages under tutorial/ that have doc directives pointing to them (#2063) * DOCS-15521 sh.status.partitioned not valid (#2050) * DOCS-15521 sh.status.partitioned not valid * DOCS-15521 sh.status.partitioned not valid * DOCS-15521 sh.status.partitioned not valid * Review Feedback * Review feedback * DOCSP-25339 (#2026) * add api docs for rewrapmanydatakeys methods * move to shared include * broken links * update product names, add as constants * (DOCSP-24983) QE Server Side Schema Behavior (#2018) * wip * Trigger Build * proofread, spell-check, grammar-check * js - suggestion Co-authored-by: Jordan Smith <[email protected]> Co-authored-by: Jordan Smith <[email protected]> * (DOCSP-24820) libmongocrypt install fix (#2071) * libmongocryptdev * update qe libmongocrypt page * proofread * (DOCS-15399): 6.1 retryable writes errors (#2066) * (DOCS-15399): 6.1 retryable writes errors * wording * wording and minimalism * fix include name * edits * add clarity * reorder phrases * minimalism * minimalism, formatting * review edits * updates per review * wording * final review edits * minimalism * DOCS-15473 Update exit codes reference (#2070) * DOCSP-26150 Replace :doc: with :method: / :command: where possible (#2074) * Date() * internal review feedback * internal review feedback * internal review * DOCS-15411 commit quorum v write concern (#2009) * DOCS-15411 commitQuorum-and-writeConcerns * DOCS-15411 commitQuorum-and-writeConcerns * Staging fixes * Staging fixes * Review feedback * Staging fixes * Review Feedback * Review Feedback * Review feedback * Review feedback * Staging fixes * Review feedback * Review feedback * Commit feedback * DOCSP-25986 improve style of limitations page (#2047) * DOCSP-25986 timeseries limitations restyling * DOCSP-25986 timeseries limitations restyling * Review Feedback * Staging fixes * Merge feedback * (DOCSP-24856) (#2083) * update qe tut * update qe tuts * update csfle tuts * remove output from tuts that do not produce this output * remove output from code block that does not produce output * add deleted back in * DOCSP-26183 replaces :doc: with improved admonitions (#2080) * DOCSP-26204 update instances of :doc: pointing to core/index-text with :ref: (#2087) * DOCSP-26204 update instances of :doc: pointing to core/index-text with :ref: * internal review feedback * DOCSP-15109 Resume Token Expansion (#2049) * DOCSP-15109 Updates _id token * DOCSP-15109 Updates token sources * DOCSP-15109 Updates token sources * DOCSP-15109 Refactors resume token text * DOCSP-15109 Refactors resume token text * DOCSP-15109 Fixes code block * DOCSP-15109 Fixes code block * DOCSP-15109 Fixes per Dave * DOCSP-15109 Fixes per Dave * DOCSP-15109 Fixes per Dave * DOCSP-15109 Fixes per Dave * DOCSP-15109 Fixes build error * DOCSP-15109 Fixes build error * DOCSP-15109 Fixes build error * DOCSP-15109 Fixes per Valentin * (DOCS-15063): Change to balancerCollectionStatus output (#2085) * (DOCS-15063): Update balancerCollectionStatus command page * more updates * edits * small edits * tweak * wording * add details per tech review * formatting - note * DOCSP-26224 replace docs directives pointing to transactions (#2090) * DOCSP-26224 replace docs directives pointing to transactions * internal review feedback * DOCSP-26193 replaces 2d and 2dsphere index doc admonitions (#2082) * DOCSP-26193 replaces 2d and 2dsphere index doc admonitions * internal review feedback * DOCSP-26256 replaces views-related doc directives (#2092) * DOCSP-26275 replaces write-related doc directives (#2094) * DOCS-15437-reap-transactions (#2062) * DOCS-15437-reap-transactions * DOCS-15437-reap-transactions * DOCS-15437-reap-transactions * DOCS-15437-reap-transactions * DOCS-15437-reap-transactions * DOCS-15437-reap-transactions * DOCS-15437-reap-transactions * DOCS-15437-reap-transactions * DOCS-15437-reap-transactions * DOCS-15437-reap-transactions * DOCS-15437-reap-transactions Co-authored-by: jason-price-mongodb <[email protected]> * DOCSP-26288 replaces auditing-related doc directives (#2102) * DOCSP-26288 replaces auditing-realted doc directives * internal review feedback * internal review feedback * (DOCSP-26124): Add new fill example (#2106) * (DOCSP-26124): Add new fill example * wording * wording * add clarification for values of zero * add note title * tweaks * internal review edits * fix output order * fix toc heading * wording * (DOCSP-22423): Clarify startup instructions for redactClientLogData (#2101) * Clarify startup instructions for redactClientLogData * copy review feedback * final fixes * DOCPS-26298 updates BSON-related doc directives (#2105) * DOCPS-26298 updates BSON-related doc directives * internal review feedback * internal review feedback * update python qe apps from testing with solutions architect (#1887) * DOCSP-26321 updates collation-related doc directives (#2112) * (DOCSP-26328): Migrate changelog script from Python 2 to Python 3 (#2116) * (DOCSP-26328): Migrate changelog script from Python 2 to Python 3 (#2113) * update Makefile command and requirements filename (#2114) * (DOCS-15722): 4.4.18 initial changelog and changelog script fixes (#2117) * (DOCS-15722): 4.4.18 initial changelog * fix bug with changelog output * refactoring * regenerate 4.4.18 changelog * fix typo * DOCSP-26358 replaces agg pipline doc directives (#2120) * DOCS-15516 Time series range outside 1970-2038 behavior (#2119) * Add a missing named reference definition in 5.1-compatibility (#2115) * DOCSP-25224 version cleanup in Method Reference Co-authored-by: jmd-mongo <[email protected]> Co-authored-by: Dave Cuthbert <[email protected]> Co-authored-by: Aleksander Binion <[email protected]> Co-authored-by: Jordan Smith <[email protected]> Co-authored-by: Jeff Allen <[email protected]> Co-authored-by: Nick Villahermosa <[email protected]> Co-authored-by: jason-price-mongodb <[email protected]> Co-authored-by: jason-price-mongodb <[email protected]> Co-authored-by: davidhou17 <[email protected]> Co-authored-by: Heli Aldridge <[email protected]>
1 parent d9c17dd commit 888fad6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+189
-731
lines changed

config/redirects

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2090,3 +2090,6 @@ raw: ${prefix}/${version}/applications/drivers -> ${base}/drivers/
20902090
(v5.3-*]: ${prefix}/${version}/reference/method/quit -> ${base}/${version}/reference/method/js-native
20912091
(v5.3-*]: ${prefix}/${version}/reference/method/sleep -> ${base}/${version}/reference/method/js-native
20922092
(v5.3-*]: ${prefix}/${version}/reference/method/version -> ${base}/${version}/reference/method/js-native
2093+
2094+
(v4.2-*]: ${prefix}/${version}/reference/method/db.copyDatabase -> ${base}/database-tools/mongodump/#std-label-mongodump-example-copy-clone-database
2095+
(v4.2-*]: ${prefix}/${version}/reference/method/db.cloneDatabase -> ${base}/database-tools/mongodump/#std-label-mongodump-example-copy-clone-database

source/faq/concurrency.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -387,10 +387,6 @@ database:
387387
* - Operation
388388
- Behavior
389389

390-
* - :method:`db.copyDatabase()`
391-
- This operation obtains a global (W) exclusive lock and blocks
392-
other operations until it finishes.
393-
394390
* - | :dbcommand:`reIndex`
395391
| :method:`db.collection.reIndex()`
396392
- .. versionchanged:: 4.2
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
.. note::
3+
4+
You cannot use ``resumeAfter`` to resume a change stream after an
5+
:ref:`invalidate event <change-event-invalidate>` (for example, a collection
6+
drop or rename) closes the stream. Starting in MongoDB 4.2, you can use
7+
:ref:`startAfter <change-stream-start-after>` to start a new change
8+
stream after an :ref:`invalidate event <change-event-invalidate>`.
9+

source/includes/cursor-index-use.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
.. note:: Index Use
3+
4+
To use an index with the :method:`~cursor.max()` method, you must use the
5+
:method:`~cursor.hint()` method to specify the index you want to use,
6+
exept when the :method:`~db.collection.find()` query is an equality
7+
condition on the ``_id`` field.
8+

source/includes/extracts-listCollections-auth.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ content: |
1414
The built-in role :authrole:`read` provides the privilege to run
1515
:dbcommand:`listCollections` for a specific database.
1616
17-
Starting in version 4.0, however, user without the required privilege
17+
Users without the required privilege
1818
can run the command with **both** ``authorizedCollections`` and
1919
``nameOnly`` options set to ``true``. In this case, the command returns
2020
just the name and type of the collection(s) to which the user has
@@ -48,8 +48,7 @@ content: |
4848
ref: listCollections-auth-show-collections
4949
content: |
5050
51-
Starting in version 4.0 of the ``mongo`` shell, ``show
52-
collections`` is equivalent to:
51+
The ``mongo`` shell, ``show collections`` is equivalent to:
5352
5453
.. code-block:: javascript
5554
@@ -79,8 +78,7 @@ content: |
7978
ref: listCollections-auth-showCollectionNames
8079
content: |
8180
82-
Starting in version 4.0 of the ``mongo`` shell,
83-
:method:`db.getCollectionNames()` is equivalent to:
81+
The :method:`db.getCollectionNames()` is equivalent to:
8482
8583
.. code-block:: javascript
8684

source/includes/extracts-sessions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ content: |
109109
ref: sessions-cursor-timeout
110110
content: |
111111
112-
Starting in MongoDB 3.6, MongoDB drivers and :binary:`~bin.mongosh`
112+
MongoDB drivers and :binary:`~bin.mongosh`
113113
associate all operations with a :doc:`server session
114114
</reference/server-sessions>`, with the exception of unacknowledged
115115
write operations. For operations not explicitly associated with a

source/includes/extracts-syncFrom.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,9 @@ content: |
33
Sync Logic
44
~~~~~~~~~~
55
6-
.. versionchanged:: 3.4
7-
86
If an initial sync operation is in progress when you run
97
{{syncfrom}}, {{syncfrom}} stops the in-progress initial sync and
10-
restarts the sync process with the new target. In previous versions,
11-
if you run {{syncfrom}} during initial sync, MongoDB produces no
12-
error messages, but the sync target will not change until after the
13-
initial sync operation.
8+
restarts the sync process with the new target.
149
1510
Only modify the default sync logic as needed, and always exercise
1611
caution.

source/includes/extracts-zoned-sharding.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,7 @@ content: |
114114
ref: zoned-sharding-drop-collection-change
115115
content: |
116116
117-
Starting in MongoDB 4.0.2, dropping a collection deletes its
118-
associated zone/tag ranges.
117+
Dropping a collection deletes its associated zone/tag ranges.
119118
120119
---
121120
ref: zoned-sharding-compound-hashed-downgrade

source/includes/fact-aggregate-readConcern.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,3 @@ Starting in MongoDB 4.2, you can specify :doc:`read concern
22
</reference/read-concern>` level :readconcern:`"majority"` for an
33
aggregation that includes an :pipeline:`$out` stage.
44

5-
In MongoDB 4.0 and earlier, you cannot include the :pipeline:`$out`
6-
stage to use :readconcern:`"majority"` read concern for the aggregation.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
MongoDB uses an optimized build process that obtains and holds an exclusive
3+
lock on the specified collection at the start and end of the index build. All
4+
subsequent operations on the collection must wait until |method| releases
5+
the exclusive lock. |method| allows interleaving read and write
6+
operations during the majority of the index build.
7+
8+
For more information on the locking behavior of |method|, see
9+
:ref:`index-operations`.
10+

0 commit comments

Comments
 (0)