Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion source/reference/configuration-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3566,7 +3566,12 @@ LDAP Parameters
The :setting:`storage.directoryPerDB` setting is available only for :binary:`~bin.mongod`.

.. include:: /includes/not-available-for-inmemory-storage-engine.rst


Starting in MongoDB 5.0, dropping the final collection in a database
(or dropping the database itself) when
:setting:`storage.directoryPerDB` is enabled deletes the newly empty
subdirectory for that database.

To change the :setting:`storage.directoryPerDB` option for existing
deployments:

Expand Down
4 changes: 4 additions & 0 deletions source/reference/program/mongod.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1433,6 +1433,10 @@ Storage Options

.. include:: /includes/not-available-for-inmemory-storage-engine.rst

Starting in MongoDB 5.0, dropping the final collection in a database
(or dropping the database itself) when :option:`--directoryperdb` is
enabled deletes the newly empty subdirectory for that database.

To change the :option:`--directoryperdb` option for existing
deployments:

Expand Down
5 changes: 5 additions & 0 deletions source/release-notes/5.0-compatibility.txt
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,11 @@ General Changes
stages </reference/operator/aggregation-pipeline>` allowed in a single
pipeline is limited to 1000.

- Starting in MongoDB 5.0, dropping the final collection in a database
(or dropping the database itself) when
:setting:`~storage.directoryPerDB` or :option:`--directoryperdb` is
enabled deletes the newly empty subdirectory for that database.

- MongoDB 5.0 removes the ``--serviceExecutor`` command-line option and
the corresponding ``net.serviceExecutor`` configuration option.

Expand Down