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

Update FLE 2 collection management

    • Needed
    • Hide

      Apply two changes to FLE 2 CreateCollection and Drop behavior added in DRIVERS-2284:

      1. Add clusteredIndex option to state collections.
      2. Drop the data collection after state collections.

      Please see the specification change for the detailed changes.

      Please see the Go driver implementation for reference.

      Show
      Apply two changes to FLE 2 CreateCollection and Drop behavior added in DRIVERS-2284: 1. Add clusteredIndex option to state collections. 2. Drop the data collection after state collections. Please see the specification change for the detailed changes. Please see the Go driver implementation for reference.
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4389 Fixed 1.22.0, 1.22.0-beta0
      CXX-2512 Duplicate
      CSHARP-4173 Fixed 2.16.0
      GODRIVER-2419 Fixed 1.10.0, 1.10.0-beta1
      JAVA-4609 Fixed 4.7.0
      NODE-4246 Done 4.7.0
      MOTOR-962 Backlog
      PYTHON-3270 Duplicate
      RUBY-2995 Fixed 2.18.0
      RUST-1324 Duplicate
      SWIFT-1568 Duplicate
      PHPLIB-851 Fixed 1.13.0-beta1, 1.13.0
      $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-4389 Fixed 1.22.0, 1.22.0-beta0 CXX-2512 Duplicate CSHARP-4173 Fixed 2.16.0 GODRIVER-2419 Fixed 1.10.0, 1.10.0-beta1 JAVA-4609 Fixed 4.7.0 NODE-4246 Done 4.7.0 MOTOR-962 Backlog PYTHON-3270 Duplicate RUBY-2995 Fixed 2.18.0 RUST-1324 Duplicate SWIFT-1568 Duplicate PHPLIB-851 Fixed 1.13.0-beta1, 1.13.0

      Summary

      Two requested changes for FLE 2 CreateCollection and Drop behavior added in DRIVERS-2284:

      1. Add clusteredIndex option to state collections.
      2. Drop the data collection after state collections.

      Motivation

      1. The FLE 2 secondary collections benefit from being clustered collections on _id. This reduces the write amplification by 50%.
      2. The server warns if the data collection is dropped before state collections per SERVER-64914.

      If the problem does occur, what are the consequences and how severe are they?

      2. The logs may confuse users.

      Is this issue urgent?

      IMO Yes. This should be done for 6.0.

      Is this ticket only for tests?

      No. This is a functional change.

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

              Created:
              Updated: