Navigation

Unsupported Commands in M10+ Clusters

Atlas requires clients to authenticate to access an Atlas cluster. Atlas provides a curated list of Database User Privileges. These privileges provide access to a subset of MongoDB commands.

Atlas limits the privilege actions available from the built-in database user privileges.

Example

The killAllSessions command requires the killAnySession privilege. The built-in database user privileges do not include killAnySession.

Atlas limits the db.killOp method to the MongoDB user who ran the operation.

The following table lists the most common commands and shell methods that database user privileges do not support. To ensure cluster stability and performance, Atlas subsumes or restricts the functionality that these commands provide.

Commands
Shell Method
Privilege Actions
eval
Commands
Shell Method
Privilege Actions
[1] This command is not supported on global write clusters only.
[2](1, 2) You can call getUser for your own user account.

Atlas doesn't support the $planCacheStats aggregation pipeline stage.

MongoDB versions 4.2 and later do not support the following commands and methods:

Commands
Shell Method
parallelCollectionScan
clone
copydb

Please contact Atlas support if your use case requires access to a command not currently supported by the existing Atlas database user privileges.

Give Feedback