Navigation

Unsupported Commands in M10+ ClustersΒΆ

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

The following table lists the most common commands and shell methods that Atlas MongoDB user privileges do not support. The functionality provided by these commands are largely subsumed by Atlas, or are restricted to ensure cluster stability and performance.

Category Commands Shell Method
Replication
applyOps
replSetFreeze
replSetInitiate
replSetMaintenance
replSetReconfig
replSetResizeOplog
replSetStepDown
replSetSyncFrom
resync

rs.freeze()
rs.initiate()

rs.reconfig()

rs.stepDown()
rs.syncFrom

Sharding
addShardToZone
balancerStart
balancerStop
movePrimary
mergeChunks
removeShard
removeShardFromZone
updateZoneKeyRange
sh.addShardToZone
sh.startBalancer()
sh.stopBalancer()



sh.removeShardFromZone()
sh.updateZoneKeyRange()
User and Role Management
createUser
dropUser
grantRolesTouser
revokeRolesFromUser
updateUser
createRole
dropRole
updateRole
db.createUser()
db.dropUser()
db.grantRolesToUser()
db.revokeRolesFromuser()
db.updateUser()
db.createRole()
db.dropRole()
db.updateRole()
Administrative
setParameter
logRotate
shutdown


db.shutdownServer()

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