-
Type: Bug
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Field Level Encryption
-
None
-
Environment:OS: MacOS
Version 1.37.0
-
3
Problem Statement/Rationale
What is going wrong? What action would you like the Engineering team to take?
When creating the KeyVault for queryable encryption, Compass does not create the keyAltNames index, as documented here. As discussed in slack:
> with CSFLE, we designed it to be able to handle millions of keys, so a vault index made sense. It won't hurt with QE, but definitely not high-priority.
So, even if it is not high priority, it would be good both MongoDB Shell and MongoDB Compass uses the same structure and the index is created as documented.
Steps to Reproduce
How could an engineer replicate the issue you’re reporting?
Follow the procedure to create a quertyable encryption collection. Once done, check the indexes in the KeyVault, there will be none.
Expected Results
What do you expect to happen?
There should be one index in keyAltNames similar to the one MongoDB Shell creates, as seen here.