|
The list of unsupported commands in the Atlas documentation does not include reIndex() for M0.
I have tested on my own M0 cluster and I can reproduce the error, logged in as a user with atlasAdmin role. On an M10 cluster the command works.
MMS-17848-FREE-shard-0:PRIMARY> db.testData.reIndex();
|
{
|
"ok" : 0,
|
"errmsg" : "CMD_NOT_ALLOWED: reIndex",
|
"code" : 8000,
|
"codeName" : "AtlasError"
|
}
|
If the reIndex() command is not supported on M0 please can it be added to the list of unsupported commands in the docs.
|