Description
Hi, Dear mongo team!
I found a problem in enable the slow log command.
I use
db.setProfilingLevel(1, { slowms: 100 })
|
|
Unauthorized: not authorized on config to execute command { profile: 1, slowms: 100, $clusterTime: { clusterTime: Timestamp(1572400149, 57), signature:
|
|
|
{ hash: BinData(0, 142D40C19EDD425A695B562803E2160A1E132F4E), keyId: 6701226941241884703 }
|
|
|
}, $db: "config", $readPreference: \{ mode: "primaryPreferred" } }
|
|
The mongo version is v4.0.10
So I changed the version to v4.0.2 the problem go away. If this version's bug ?
Attachments
Issue Links
- is caused by
-
SERVER-39056 Further refine readWriteAnyDatabase
-
- Closed
-