Which of the following are valid configuration files for the WiredTiger storage engine and found in the data directory or dbPath of a MongoDB server? Check all that apply:
题目选项
- A.diagnostic.data
- B.WiredTiger.wt
- C.mongodb.lock
- D.WiredTiger.turtle
答案置信度:高
正确答案:A、B、D
解析语言:中文
WiredTiger 在 dbPath 下会生成 WiredTiger.wt(表/元数据文件)、WiredTiger.turtle(记录 WiredTiger.wt 检查点元数据的配置文件)以及 diagnostic.data(WiredTiger/MongoDB 的诊断数据目录),这三项都是数据目录里的实际文件。A 的 mongodb.lock 是编造的名字(MMAPv1 时代叫 mongod.lock,4.4 已不使用),因此选 B、C、D。