File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -3566,7 +3566,12 @@ LDAP Parameters
35663566 The :setting:`storage.directoryPerDB` setting is available only for :binary:`~bin.mongod`.
35673567
35683568 .. include:: /includes/not-available-for-inmemory-storage-engine.rst
3569-
3569+
3570+ Starting in MongoDB 5.0, dropping the final collection in a database
3571+ (or dropping the database itself) when
3572+ :setting:`storage.directoryPerDB` is enabled deletes the newly empty
3573+ subdirectory for that database.
3574+
35703575 To change the :setting:`storage.directoryPerDB` option for existing
35713576 deployments:
35723577
Original file line number Diff line number Diff line change @@ -1433,6 +1433,10 @@ Storage Options
14331433
14341434 .. include:: /includes/not-available-for-inmemory-storage-engine.rst
14351435
1436+ Starting in MongoDB 5.0, dropping the final collection in a database
1437+ (or dropping the database itself) when :option:`--directoryperdb` is
1438+ enabled deletes the newly empty subdirectory for that database.
1439+
14361440 To change the :option:`--directoryperdb` option for existing
14371441 deployments:
14381442
Original file line number Diff line number Diff line change @@ -204,6 +204,11 @@ General Changes
204204 stages </reference/operator/aggregation-pipeline>` allowed in a single
205205 pipeline is limited to 1000.
206206
207+ - Starting in MongoDB 5.0, dropping the final collection in a database
208+ (or dropping the database itself) when
209+ :setting:`~storage.directoryPerDB` or :option:`--directoryperdb` is
210+ enabled deletes the newly empty subdirectory for that database.
211+
207212- MongoDB 5.0 removes the ``--serviceExecutor`` command-line option and
208213 the corresponding ``net.serviceExecutor`` configuration option.
209214
You can’t perform that action at this time.
0 commit comments