[MONGOCRYPT-447] Raise default contention factor to 4 Created: 22/Jun/22  Updated: 28/Oct/23  Resolved: 27/Jun/22

Status: Closed
Project: Libmongocrypt
Component/s: None
Affects Version/s: None
Fix Version/s: 1.5.0

Type: Task Priority: Major - P3
Reporter: Kevin Albertson Assignee: Kevin Albertson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DRIVERS-2371 Require contentionFactor for "Indexed... Closed
Related
is related to SERVER-66663 Raise default contention factor for F... Closed
Binding Changes: Not Needed

 Description   

Scope

  • Raise the default contention factor value to 4 for explicit encryption.

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

Automatic encryption should not require changes. Query analysis will include the contention factor to use in the FLE2EncryptionPlaceholder.

Explicit encryption will need to be updated. Querying with an incorrect contention factor may return incorrect results.

Contention factor is included in the FLE2FindEqualityPayload and used to create the FLE2InsertUpdatePayload.



 Comments   
Comment by Githook User [ 27/Jun/22 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: MONGOCRYPT-447 require contention factor for indexed algorithm (#381)
Branch: master
https://github.com/mongodb/libmongocrypt/commit/b1d9dd9811d8c15dc294ab3d5dcb71364833f28d

Comment by Githook User [ 27/Jun/22 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: MONGOCRYPT-447 set default contention factor to 4 (#378)
Branch: master
https://github.com/mongodb/libmongocrypt/commit/a6b33ea1434d13ec60772be9f8866763e6596fbd

Generated at Thu Feb 08 09:08:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.