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

QE compact coordinator must create the ECOC after renaming to temp

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: Queryable Encryption
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Security 2022-11-28, Security 2022-12-12, Security 2022-12-26, Security 2023-01-09

      In sharded clusters, doing QE writes will fail with the following error:

      { "nInserted" : 1, "nMatched" : 0, "nModified" : 0, "nRemoved" : 0, "nUpserted" : 0, "writeErrors" : [ { "index" : 0, "code" : 263, "errmsg" : "Transaction was aborted :: caused by :: from shard rs1 :: caused by :: Cannot create new collections inside distributed transactions" } ] }
      

      if the ECOC collection does not exist and needs to be implicitly created. This normally happens when the compaction operation renames the ECOC collection to a name suffixed with .compact, but does not create a new ECOC collection as replacement.

            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: