Hi.
I use MongoDB Atlas M20 instance.
I had an issue with huge oplog size(50GB) with storage auto scale option enabled.
So I turned off auto scaling and set Maximum Oplog Size as 990MB to prevent oplog size going to large.
Next, I wanted to run compact command on oplog collection to make disk size smaller but failed to run with authentication failed message.
{
"message" : "not authorized on local to execute command { compact: 'oplog.rs', $clusterTime...
I found related articles but nobody seems to have an authentication issue like me.