-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Diagnostics
-
None
-
Fully Compatible
-
Security 2018-12-31, Security 2019-01-14, Security 2019-01-28
Currently, the FTDC diagnostics directory is always relative to the data directory. If we allow it to be set via setParameter, we can then put these directories in a custom subdir of the data directory during testing. This will allow us to easily archive this data for help with understanding BFs.
For reference:
bencaimano@just-ben-book:/Users/bencaimano/git/mongodb/mongo [1]$ git grep kFTDCDefaultDirectory src/mongo/db/ftdc/constants.h:constexpr StringData kFTDCDefaultDirectory = "diagnostic.data"_sd; src/mongo/db/ftdc/ftdc_mongod.cpp: dir /= kFTDCDefaultDirectory.toString(); src/mongo/db/ftdc/util.cpp: base += "." + kFTDCDefaultDirectory.toString();
- is depended on by
-
SERVER-37151 Allow logs to be created with different permissions than data files
- Closed
- is duplicated by
-
SERVER-30823 Allow FTDC output directory to be configured
- Closed
- mentioned in
-
Page Loading...