-
Type: Improvement
-
Status: Open
-
Priority: Critical
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Monitoring
We need to add a hashed index on all our directory.
Each query on any directory is filtered on the `tenantId` which must be indexed.
Compass doesn't seem to be able to add a hashed index, we need to update our migration script.
See: https://docs.mongodb.com/manual/reference/method/db.collection.createIndex