Skip to content

Commit c7d453b

Browse files
(DOCSP-34349) Adds release notes and compatibility changes for 7.2 (#5242)
* DOCS-16363 Document killedDueToMaxTimeMSExpired under serverStatus (#5193) * DOCS-16363 Document killedDueToMaxTimeMSExpired under serverStatus * add to TOC * wording * build error * Includes PM external review changes * Revert "Includes PM external review changes" This reverts commit 0263ebe646848bf840c75b414815d3daa660e9fc. * Includes changes from PM review * Includes copy review changes --------- Co-authored-by: Alison Huh <[email protected]>
1 parent 5039cb9 commit c7d453b

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed

source/core/hashed-sharding.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ If you shard a populated collection using a hashed shard key:
138138
- After the initial chunk creation, the balancer moves ranges of the
139139
initial chunk when it needs to balance data.
140140

141+
.. _shard-empty-collection:
142+
141143
Shard an Empty Collection
142144
~~~~~~~~~~~~~~~~~~~~~~~~~
143145

source/release-notes/7.2-compatibility.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,10 @@ Renamed Metrics
4040
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4141

4242
.. include:: /includes/fact-encryption-options-create-collection.rst
43+
44+
``routingTableCacheChunkBucketSize`` Must Be Greater Than ``0``
45+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
46+
47+
Starting in MongoDB 7.2, the
48+
:parameter:`routingTableCacheChunkBucketSize` parameter's value must be
49+
greater than ``0``. Previously, this value could equal to ``0``.

source/release-notes/7.2.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,22 @@ Starting in MongoDB 7.2, the :dbcommand:`serverStatus` command and the
4242
- :serverstatus:`metrics.operation.killedDueToMaxTimeMSExpired`
4343
- :serverstatus:`readPreferenceCounters`
4444

45+
``getField`` Field Supports All Strings
46+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
47+
48+
Starting in MongoDB 7.2, you can specify any valid :ref:`expression
49+
<aggregation-expressions>` that resolves to a string for the ``field``
50+
input of the :expression:`$getField` operator. In earlier versions,
51+
``field`` accepts only string constants.
52+
53+
Default Chunks Per Shard
54+
~~~~~~~~~~~~~~~~~~~~~~~~
55+
56+
Starting in MongoDB 7.2, when you :ref:`shard an empty collection
57+
<shard-empty-collection>` with a hashed shard key, the operation
58+
creates one chunk per shard by default. Previously, the operation
59+
created two chunks by default.
60+
4561
.. toctree::
4662
:titlesonly:
4763
:hidden:

0 commit comments

Comments
 (0)