Error: MongoServerError: will not run compact on an active replica set primary as this will slow down other running operations. use force:true to force


_id userId user db credentials roles
admin.root
e1496f12-4609-4ab6-9d25-4765eaa9a8fb
root
admin
{
  "SCRAM-SHA-1": {
    "iterationCount": 10000,
    "salt": "nZCRaPOm98mFfX2EvMewbA==",
    "storedKey": "HlVQwBX6yYaDrVe9PNcfXyQLt3Y=",
    "serverKey": "1Ig20DhMuqSqpgvUPd4O/WAXfdo="
  },
  "SCRAM-SHA-256": {
    "iterationCount": 15000,
    "salt": "37bbCrxBmfBrafuFsNW8oi/VSowXvcqKvveyiQ==",
    "storedKey": "Q8wF2aq94CVr+s4zrJV/JrcUllaWH0+gZkdoGVL32oo=",
    "serverKey": "WU6A8K590/4I8YuzxilFD/bv9V6gUeNNfMkhbsMqlW8="
  }
}
[
  {
    "role": "root",
    "db": "admin"
  }
]

Rename Collection

admin .

Tools

Collection Stats

Documents 1
Total doc size 522 Bytes
Average doc size 522 Bytes
Pre-allocated size 36 KB
Indexes 2
Total index size 72 KB
Padding factor
Extents

Indexes

Name Columns Size Attributes Actions
_id_
_id   ASC
36 KB
 DEL
user_1_db_1
user   ASC
db   ASC
36 KB
unique:  true
 DEL