Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-6898

MongoDB Compass does not create an index in the KeyVault collection

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Field Level Encryption
    • Labels:
      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            miguel.nieto@mongodb.com Miguel Angel Nieto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: