Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-72996

Ignore NamespaceExists status when QE compact creates the ECOC collection

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: Queryable Encryption
    • None
    • Fully Compatible
    • ALL
    • Security 2023-02-06, Security 2023-04-03
    • 19

      The compactStructuredEncryptionData command creates the ECOC collection after renaming it to a temporary namespace. Between the rename and the create, it is possible that another operation may create the ECOC collection, and so the compact command will fail with a NamespaceExists error when it tries to create the now-existing ECOC collection. This error should be ignored in compact.

            Assignee:
            erwin.pe@mongodb.com Erwin Pe
            Reporter:
            erwin.pe@mongodb.com Erwin Pe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: