Skip to content

Commit fef8c4b

Browse files
authored
DOCSP-28680 Add Restart Warning for diagnosticDataCollectionDirectoryPath (#2753) (#2854)
* DOCSP-28680 Add Restart Warning for diagnosticDataCollectionDirectoryPath (#2753) * DOCSP-28680 Add Restart Warning for diagnosticDataCollectionDirectoryPath * copy cleanup * IF feedback * move warning message * resolve build errors
1 parent 53d9c7f commit fef8c4b

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

source/includes/steps-install-mongodb-enterprise-on-debian.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ content: |
5151
5252
.. code-block:: bash
5353
54-
echo "deb https://repo.mongodb.com/apt/debian buster/mongodb-enterprise/{+version-last+} main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise-{+version-last+}.list
54+
echo "deb https://repo.mongodb.com/apt/debian buster/mongodb-enterprise/{+last-supported-version+} main" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise-{+last-supported-version+}.list
5555
5656
.. tab:: Debian 9 "Stretch"
5757
:tabid: debian-9-stretch

source/reference/parameters.txt

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1851,6 +1851,14 @@ The following parameters support diagnostic data capture (FTDC):
18511851

18521852
|mongos-only|
18531853

1854+
.. warning::
1855+
1856+
If :ref:`Full Time Diagnostic Data Capture (FTDC) <ftdc-stub>` is
1857+
disabled with :parameter:`diagnosticDataCollectionEnabled` or if
1858+
:setting:`systemLog.destination` is set to ``syslog``, you must restart
1859+
:binary:`~bin.mongos` after setting
1860+
``diagnosticDataCollectionDirectoryPath``.
1861+
18541862
Specify the directory for the diagnostic directory for
18551863
:binary:`~bin.mongos`. If the directory does not exist,
18561864
:binary:`~bin.mongos` creates the directory.
@@ -1864,12 +1872,11 @@ The following parameters support diagnostic data capture (FTDC):
18641872
/var/log/mongodb/mongos.log.201708015``, then the diagnostic data
18651873
directory is ``/var/log/mongodb/mongos.diagnostic.data/``.
18661874

1867-
.. important::
1868-
1869-
If :binary:`~bin.mongos` cannot create the specified directory, e.g.
1870-
a file exists with the same name in the path or the process does
1871-
not have permissions to create the directory, the diagnostic data
1872-
capture will be disabled for that instance.
1875+
If the :binary:`~bin.mongos` cannot create the specified directory, the
1876+
diagnostic data capture is disabled for that instance. :binary:`~bin.mongos`
1877+
may not be able to create the specified directory if a file with the same
1878+
name already exists in the path or if the process does not have permissions
1879+
to create the directory.
18731880

18741881
.. parameter:: diagnosticDataCollectionDirectorySizeMB
18751882

0 commit comments

Comments
 (0)