Hi, found the Read & Write Concern setting is always fixed to majority as shown below.
(v4.4.23)
[mongos] admin> db.getSiblingDB('config').settings.find()
[
...
{
_id: 'ReadWriteConcernDefaults',
defaultReadConcern: { level: 'majority' },
defaultWriteConcern: { w: 'majority', wtimeout: 0 },
updateOpTime: Timestamp({ t: 1720601017, i: 2 }),
updateWallClockTime: ISODate('2024-07-10T08:43:38.054Z')
}
]
Even though I tried changing the default concern by executing the setDefaultRWConcern command, the setting changed to majority after a few seconds.
> db.adminCommand({
"setDefaultRWConcern" : 1,
"defaultReadConcern" : { "level" : "local" }
})
Is this an intended behavior involving operator intervention?