Skip to content

Commit 831b24e

Browse files
andf-mongodbkay-kim
authored andcommitted
DOCSP-7955 remove versionchanged and versionadded tags for v3.0 ONLY repo-wide
1 parent e3ff193 commit 831b24e

File tree

74 files changed

+196
-699
lines changed

Some content is hidden

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

74 files changed

+196
-699
lines changed

source/core/read-preference-mechanics.txt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,11 @@ Read Preference and Shards
6969
For sharded clusters that have replica set shards, :binary:`~bin.mongos`
7070
applies the read preference when reading from the shards. Server
7171
selection is governed by the :doc:`read preference
72-
</core/read-preference>` and :setting:`replication.localPingThresholdMs` settings.
72+
</core/read-preference>` and :setting:`replication.localPingThresholdMs`
73+
settings. The read preference is re-evaluated for each operation.
7374

7475
.. include:: /includes/fact-3.4-added-maxStalenessSeconds.rst
7576

76-
.. versionchanged:: 3.0
77-
78-
The read preference is re-evaluated for each operation.
79-
8077
.. include:: /includes/extracts/server-selection-read-preference-sharded-clusters.rst
8178

8279
.. [#default-threshold] The default threshold value is 15 milliseconds.

source/core/security-users.txt

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ you enable access control, connect to the localhost interface and create
137137
the first user in the ``admin`` database. The first user must have
138138
privileges to create other users, such as a user with the
139139
:authrole:`userAdmin` or :authrole:`userAdminAnyDatabase` role.
140+
Connections using the localhost exception *only* have access to create
141+
the first user on the ``admin`` database.
140142

141143
.. versionchanged:: 3.4
142144

@@ -146,14 +148,6 @@ privileges to create other users, such as a user with the
146148
in LDAP. See :ref:`LDAP Authorization <security-ldap-external>` for more
147149
information.
148150

149-
.. versionchanged:: 3.0
150-
151-
The localhost exception changed so that these connections *only*
152-
have access to create the first user on the ``admin``
153-
database. In previous versions, connections that gained access
154-
using the localhost exception had unrestricted access to the
155-
MongoDB instance.
156-
157151
The localhost exception applies only when there are no users created in the
158152
MongoDB instance.
159153

source/faq/concurrency.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ FAQ: Concurrency
1010
:depth: 1
1111
:class: twocols
1212

13-
.. versionchanged:: 3.0
14-
1513
MongoDB allows multiple clients to read and write the same data.
1614
In order to ensure consistency, it uses locking and other
1715
:term:`concurrency control` measures to prevent multiple clients
@@ -72,12 +70,6 @@ lock modes are represented as follows:
7270
How granular are locks in MongoDB?
7371
----------------------------------
7472

75-
.. versionchanged:: 3.0
76-
77-
78-
Beginning with version 3.0, MongoDB ships with the :ref:`WiredTiger
79-
<storage-wiredtiger>` storage engine.
80-
8173
.. include:: /includes/fact-wiredtiger-locks.rst
8274

8375
How do I see the status of locks on my :binary:`~bin.mongod` instances?

source/includes/extracts-access-copydb.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ content: |
3131
ref: access-copydb-source-not-admin
3232
content: |
3333
34-
.. versionchanged:: 3.0
35-
3634
If the source database is a non-``admin`` database, you must have
3735
privileges that specify :authaction:`find`,
3836
:authaction:`listCollections`, and :authaction:`listIndexes` actions
@@ -47,8 +45,6 @@ content: |
4745
ref: access-copydb-source-admin
4846
content: |
4947
50-
.. versionchanged:: 3.0
51-
5248
If the source database is the ``admin`` database, you must have
5349
privileges that specify :authaction:`find`,
5450
:authaction:`listCollections`, and :authaction:`listIndexes` actions

source/includes/extracts-built-in-roles.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,15 @@ content: |
144144
ref: built-in-roles-root
145145
content: |
146146
Provides access to the operations and all the resources of the
147-
:authrole:`readWriteAnyDatabase`,
148-
:authrole:`dbAdminAnyDatabase`, :authrole:`userAdminAnyDatabase`,
149-
:authrole:`clusterAdmin`, :authrole:`restore`, and
150-
:authrole:`backup` *combined*.
147+
following roles *combined*:
148+
149+
- :authrole:`readWriteAnyDatabase`
150+
- :authrole:`dbAdminAnyDatabase`
151+
- :authrole:`userAdminAnyDatabase`
152+
- :authrole:`clusterAdmin`
153+
- :authrole:`restore`
154+
- :authrole:`backup`
155+
156+
Also provides the :authaction:`validate`
157+
privilege action on ``system.`` collections.
151158
...

source/includes/extracts-cloneCollection.yaml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@ content: |
55
{{cloneCollection}} cannot be used if the `from` server has
66
:doc:`authorization </core/authorization>` enabled.
77
8-
.. versionchanged:: 3.0
9-
10-
If the given :term:`namespace` already exists in the destination
11-
:binary:`~bin.mongod` instance, {{cloneCollection}} will return an
12-
error.
8+
If the given :term:`namespace` already exists in the destination
9+
:binary:`~bin.mongod` instance, {{cloneCollection}} will return an
10+
error.
1311
---
1412
ref: cloneCollection-behavior-dbcommand
1513
content: |
@@ -27,8 +25,6 @@ content: |
2725
2826
Namespace
2927
~~~~~~~~~
30-
31-
.. versionchanged:: 3.0
3228
3329
If the given :term:`namespace` already exists in the destination
3430
:binary:`~bin.mongod` instance, {{cloneCollection}} will return an
@@ -57,12 +53,9 @@ content: |
5753
database name in the ``from`` server as the destination database. If the
5854
collection does not exist in the source database, {{cloneCollection}} fails.
5955
60-
61-
.. versionchanged:: 3.0
62-
63-
If the given :term:`collection` already exists in the destination
64-
:binary:`~bin.mongod` instance, {{cloneCollection}} returns an
65-
error.
56+
If the given :term:`collection` already exists in the destination
57+
:binary:`~bin.mongod` instance, {{cloneCollection}} returns an
58+
error.
6659
6760
Authorization
6861
~~~~~~~~~~~~~

source/includes/extracts-fact-3.0-tools-drop-dbpath-support.yaml

Lines changed: 0 additions & 28 deletions
This file was deleted.

source/includes/extracts-fact-findandmodify-return.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,6 @@ content: |
1313
- the inserted document if ``upsert: true`` and no document matches the query;
1414
1515
- otherwise, ``null``.
16-
17-
.. versionchanged:: 3.0
18-
19-
In previous versions, if for the update, ``sort`` is specified,
20-
and ``upsert: true``, and the ``new`` option is not set or ``new:
21-
false``, {{op}} instead of ``null``.
2216
---
2317
ref: fact-findandmodify-command-return
2418
inherit:

source/includes/extracts-parent-fact-3.0-tools-drop-dbpath-support.yaml

Lines changed: 0 additions & 12 deletions
This file was deleted.

source/includes/fact-3.0-mongoexport-drop-csv-option.rst

Lines changed: 0 additions & 4 deletions
This file was deleted.

source/includes/fact-majority-write-concern-change.rst

Lines changed: 0 additions & 4 deletions
This file was deleted.

source/includes/fact-remove-dropDups-option.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

source/includes/fact-wiredtiger-compatibility-with-old-shells.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

source/includes/members-used-to-allow-multiple-votes.rst

Lines changed: 0 additions & 5 deletions
This file was deleted.

source/reference/bson-type-comparison-order.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,7 @@ MongoDB's comparison of :term:`BSON` objects uses the following order:
7575
Dates and Timestamps
7676
--------------------
7777

78-
.. versionchanged:: 3.0.0
79-
Date objects sort before Timestamp objects. Previously Date and
80-
Timestamp objects sorted together.
78+
Date objects sort before Timestamp objects.
8179

8280
Non-existent Fields
8381
-------------------

source/reference/built-in-roles.txt

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -682,18 +682,7 @@ The following role provides full privileges on all resources:
682682
.. versionchanged:: 3.4
683683

684684
The :authrole:`root` role includes privileges from the
685-
:authrole:`backup` role.
686-
687-
.. versionchanged:: 3.0.7
688-
689-
The :authrole:`root` has the :authaction:`validate` privilege
690-
action on ``system.`` collections. Previously, :authrole:`root`
691-
does **not** include any access to collections that begin with the
692-
``system.`` prefix other than ``system.indexes`` and
693-
``system.namespaces``.
694-
695-
The :authrole:`root` role includes privileges from the
696-
:authrole:`restore` role.
685+
:authrole:`backup` and :authrole:`restore` roles.
697686

698687
Internal Role
699688
-------------

source/reference/command/collStats.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,6 @@ Output
390390

391391
.. data:: collStats.indexDetails
392392

393-
.. versionadded:: 3.0.0
394-
395393
A document that reports data from the :ref:`WiredTiger <storage-wiredTiger>`
396394
storage engine for each index in the collection. Other storage engines will
397395
return an empty document.
@@ -464,8 +462,6 @@ Output
464462

465463
.. data:: collStats.wiredTiger
466464

467-
.. versionadded:: 3.0.0
468-
469465
:data:`~collStats.wiredTiger` only appears when using the
470466
WiredTiger storage engine.
471467

source/reference/command/create.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,6 @@ Definition
130130

131131
- Optional. Available for the WiredTiger storage engine only.
132132

133-
.. versionadded:: 3.0
134-
135133
Allows users to specify configuration to the storage engine on a
136134
per-collection basis when creating a collection. The value of the
137135
``storageEngine`` option should take the following form:
@@ -451,8 +449,6 @@ The same operation on a collection that uses simple binary collation
451449
Specify Storage Engine Options
452450
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
453451

454-
.. versionadded:: 3.0
455-
456452
You can specify collection-specific storage engine configuration
457453
options when you create a collection with
458454
:method:`db.createCollection()`. Consider the following operation:

source/reference/command/createIndexes.txt

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,6 @@ Definition
8888

8989
Each document in the ``indexes`` array can take the following fields:
9090

91-
.. include:: /includes/fact-remove-dropDups-option.rst
92-
93-
9491
.. list-table::
9592
:header-rows: 1
9693
:widths: 20 20 80
@@ -281,11 +278,8 @@ Definition
281278
support replica sets with members that use different storage
282279
engines.
283280

284-
.. versionadded:: 3.0
285-
286-
287-
288-
281+
282+
289283
* - ``weights``
290284

291285
- document

source/reference/command/currentOp.txt

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -684,13 +684,9 @@ Output Fields
684684
is ``true`` if the operation has started or ``false`` if the
685685
operation is idle, such as an idle connection or an internal thread
686686
that is currently idle. An operation can be active even if the
687-
operation has yielded to another operation.
688-
689-
.. versionchanged:: 3.0
690-
691-
For some inactive background threads, such as an inactive
692-
``signalProcessingThread``, MongoDB suppresses various empty
693-
fields.
687+
operation has yielded to another operation. For some inactive
688+
background threads, such as an inactive ``signalProcessingThread``,
689+
MongoDB suppresses various empty fields.
694690

695691
.. data:: currentOp.secs_running
696692

@@ -902,8 +898,6 @@ Output Fields
902898

903899
.. data:: currentOp.locks
904900

905-
.. versionchanged:: 3.0
906-
907901
The :data:`~currentOp.locks` document reports the type and mode of
908902
locks the operation currently holds. The possible lock types are as
909903
follows:

source/reference/command/explain.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ Definition
1515

1616
.. dbcommand:: explain
1717

18-
.. versionadded:: 3.0
19-
2018
The :dbcommand:`explain` command provides information on the
2119
execution of the following commands: :dbcommand:`aggregate`,
2220
:dbcommand:`count`, :dbcommand:`distinct`, :dbcommand:`find`,

source/reference/command/getLastError.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ Definition
6464
latest write propagates to a majority of the voting replica set
6565
members.
6666

67-
.. include:: /includes/fact-majority-write-concern-change.rst
68-
6967
If using ``w``, you should also use ``wtimeout``. Specifying
7068
a value for ``w`` without also providing a ``wtimeout`` may cause
7169
:dbcommand:`getLastError` to block indefinitely.

source/reference/command/isMaster.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,6 @@ of a replica set:
317317

318318
.. data:: isMaster.electionId
319319

320-
.. versionadded:: 3.0
321-
322320
A unique identifier for each election. Included only in the output
323321
of :dbcommand:`isMaster` for the :term:`primary`. Used by clients
324322
to determine when elections occur.

source/reference/command/listCollections.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ listCollections
1010
:depth: 1
1111
:class: singlecol
1212

13-
.. versionadded:: 3.0.0
14-
1513
Definition
1614
----------
1715

source/reference/command/listIndexes.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ listIndexes
1010
:depth: 1
1111
:class: singlecol
1212

13-
.. versionadded:: 3.0.0
14-
1513
Definition
1614
----------
1715

source/reference/command/logRotate.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ Definition
4545
Behavior
4646
--------
4747

48-
.. versionchanged:: 3.0.0
49-
5048
The :setting:`systemLog.logRotate` setting or :option:`--logRotate <mongod --logRotate>` option
5149
specify :dbcommand:`logRotate`'s behavior.
5250

0 commit comments

Comments
 (0)