Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2371

Require contentionFactor for "Indexed" explicit encryption

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: Client Side Encryption
    • None
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4417 Fixed 1.22.0
      CXX-2536 Done
      CSHARP-4235 Fixed 2.17.0
      GODRIVER-2474 Fixed 1.10.0
      JAVA-4662 Done
      NODE-4343 Fixed mongodb-client-encryption-2.2.0
      MOTOR-988 Duplicate
      PYTHON-3319 Fixed 4.2
      PHPLIB-905 Fixed 1.13.0
      RUBY-3040 Fixed 2.18.0
      RUST-1378 Duplicate
      SWIFT-1593 Duplicate
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-4417 Fixed 1.22.0 CXX-2536 Done CSHARP-4235 Fixed 2.17.0 GODRIVER-2474 Fixed 1.10.0 JAVA-4662 Done NODE-4343 Fixed mongodb-client-encryption-2.2.0 MOTOR-988 Duplicate PYTHON-3319 Fixed 4.2 PHPLIB-905 Fixed 1.13.0 RUBY-3040 Fixed 2.18.0 RUST-1378 Duplicate SWIFT-1593 Duplicate

      Summary

      • Require contentionFactor for "Indexed" explicit encryption

      The default is handled in libmongocrypt. Drivers will need to upgrade libmongocrypt and update Queryable Encryption prose tests.

      Motivation

      The server plans to support increasing the contention factor in the future. If libmongocrypt uses a fixed default value, that may risk the default client and server contention factors going out of sync.

      The default contention factor value was raised to 4 on the server in SERVER-66663.

      Is this issue urgent?

      Yes. This is required for correctness in Queryable Encryption with explicit encryption. This should be done before 6.0 releases.

      Is this ticket required by a downstream team?

      No.

      Is this ticket only for tests?

      Yes. libmongocrypt will update the default. Driver teams only need to update tests.

            Assignee:
            kevin.albertson@mongodb.com Kevin Albertson
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: