Skip to content

Commit ec232c3

Browse files
author
Dave Cuthbert
authored
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
1 parent abd4b97 commit ec232c3

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

source/includes/steps-reshard-a-collection.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ content: |
122122
database: {
123123
_id: '<database>',
124124
primary: '<shard>',
125-
partitioned: true,
125+
partitioned: false,
126126
version: {
127127
uuid: <uuid>,
128128
timestamp: <timestamp>,

source/reference/method/sh.status.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,8 @@ unbalanced sharded cluster.
140140
1 : Failed with error 'aborted', from shardA to shardB
141141

142142
The :ref:`sharding-status-databases-fields` section lists information
143-
on the database(s). For each database, the section displays the name,
144-
whether the database has sharding enabled, and the :term:`primary
145-
shard` for the database.
143+
on the database(s). It displays the database name and the :term:`primary
144+
shard` for each database.
146145

147146
.. code-block:: javascript
148147

@@ -335,9 +334,10 @@ Databases
335334

336335
.. data:: sh.status.databases.partitioned
337336

338-
The :data:`~sh.status.databases.partitioned` displays whether
339-
the database has sharding enabled. If ``true``, the database has
340-
sharding enabled.
337+
Starting in MongoDB 6.0 and :ref:`feature compatibility version (FCV)
338+
<view-fcv>` 6.0, the ``partitioned`` flag only maintains backward
339+
compatibility with previous versions. By default, all databases are
340+
enabled for sharding regardless of the ``partitioned`` value.
341341

342342
.. data:: sh.status.databases.primary
343343

0 commit comments

Comments
 (0)