diff options
| author | Rui Liu <rui.liu@mongodb.com> | 2022-08-01 10:49:14 +0000 |
|---|---|---|
| committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-08-01 11:19:08 +0000 |
| commit | 62d2777a3eb5068deb1424402c1f5d69a86de26d (patch) | |
| tree | 7483ef98896c100fc81dfc3fdab4980c7071dc48 /src/mongo/crypto | |
| parent | 99286ff7b1f837df8449ef990b881c3ed1e3a64b (diff) | |
| download | mongo-62d2777a3eb5068deb1424402c1f5d69a86de26d.tar.gz | |
SERVER-65002 Change 'unstable' boolean to 'stability' enum and allow 'internal' stability
Diffstat (limited to 'src/mongo/crypto')
| -rw-r--r-- | src/mongo/crypto/encryption_fields.idl | 26 | ||||
| -rw-r--r-- | src/mongo/crypto/fle_field_schema.idl | 8 |
2 files changed, 17 insertions, 17 deletions
diff --git a/src/mongo/crypto/encryption_fields.idl b/src/mongo/crypto/encryption_fields.idl index 3f573d68f9f..ebc0bf732a2 100644 --- a/src/mongo/crypto/encryption_fields.idl +++ b/src/mongo/crypto/encryption_fields.idl @@ -55,28 +55,28 @@ structs: queryType: description: "Type of supported queries" type: QueryType - unstable: true + stability: unstable contention: description: "Contention factor for field, 0 means it has extremely high set number of distinct values" type: exactInt64 default: 4 - unstable: true + stability: unstable validator: { gte: 0 } min: description: "Defines the lower bound for field values. Only applicable for queryType range" type: Value optional: true - unstable: true + stability: unstable max: description: "Defines the upper bound for field values. Only applicable for queryType range" type: Value optional: true - unstable: true + stability: unstable sparsity: description: "Lower value - higher storage overhead, faster query." type: int optional: true - unstable: true + stability: unstable validator: { gte: 0, lte: 3 } EncryptedField: @@ -86,23 +86,23 @@ structs: keyId: description: "UUID of key in key vault to use for encryption" type: uuid - unstable: true + stability: unstable path: description: "Path to field to encrypt" type: string - unstable: true + stability: unstable bsonType: description: "BSON type of field to encrypt" type: string validator: { callback: "isValidBSONTypeName" } optional: true - unstable: true + stability: unstable queries: description: "List of supported query types" type: variant: [QueryTypeConfig, array<QueryTypeConfig>] optional: true - unstable: true + stability: unstable EncryptedFieldConfig: description: "Information about encrypted fields and state collections" @@ -112,18 +112,18 @@ structs: description: "Encrypted State Collection name, defaults to <collection>.esc" type: string optional: true - unstable: true + stability: unstable eccCollection: description: "Encrypted Cache Collection name, defaults to <collection>.ecc" type: string optional: true - unstable: true + stability: unstable ecocCollection: description: "Encrypted Compaction Collection name, defaults to <collection>.ecoc" type: string optional: true - unstable: true + stability: unstable fields: description: "Array of encrypted fields" type: array<EncryptedField> - unstable: true + stability: unstable diff --git a/src/mongo/crypto/fle_field_schema.idl b/src/mongo/crypto/fle_field_schema.idl index 8840a4480d8..0e07ddd606e 100644 --- a/src/mongo/crypto/fle_field_schema.idl +++ b/src/mongo/crypto/fle_field_schema.idl @@ -231,21 +231,21 @@ structs: description: "The version number" type: safeInt default: 1 - unstable: true + stability: unstable deleteTokens: description: "A map of field paths to FLEDeletePayload" type: object_owned optional: true - unstable: true + stability: unstable schema: description: "A map of NamespaceString to EncryptedFieldConfig" type: object_owned - unstable: true + stability: unstable crudProcessed: description: "A boolean to indicate whether the CRUD layer has already processed this Queryable Encryption request. Used to prevent infinite recursion." type: bool optional: true - unstable: true + stability: unstable ecocDocument: description: "foo" |
