I have following configuration in mongod.conf file
storage:
dbPath: /data/mongodb
journal:
enabled: true
wiredTiger:
engineConfig:
wiredTigerConcurrentReadTransactions: 512
wiredTigerConcurrentWriteTransactions: 512
but this is not working and showing error “Unrecognized option: storage.wiredTiger.engineConfig.wiredTigerConcurrentReadTransactions”, indentation is correct, please help to resolve the issue.
It clearly says some issue with indentation
When i paste it in a notepad the second parameter has indentation
Pl check once
Hi guys,
In the official version documentation (https://www.mongodb.com/docs/v4.4/reference/configuration-options/#storage-options) I don’t see the option, but I see it in setParameter.
There are parameters that can only be set by setParameter as in the example here: https://www.mongodb.com/docs/v4.4/reference/parameters/#mongodb-parameter-param.wiredTigerMaxCacheOverflowSizeGB
Maybe you are in the same situation.
If you have any questions, just call me =D
Also setParameter is an unsupported command in M0,M2,M5,M10+ clusters
What is your cluster type?
Check this link
Configure MongoDb Server parameters in Atlas
I am using community edition.
I tried it with admin command but it returned this error
{
"ok" : 0,
"errmsg" : "Did not consume whole string.",
"code" : 9,
"codeName" : "FailedToParse"
}
Can you share the command so we can evaluate it?