[SERVER-70593] Split fle_crypto.h Created: 14/Oct/22  Updated: 29/Oct/23  Resolved: 19/Oct/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2.0-rc0

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

Backwards Compatibility: Fully Compatible
Sprint: Security 2022-10-31
Participants:

 Description   

fle_crypto.h is included by expression.h which is included by ~1000 files either indirectly or directly. This means any incremental change to fle_crypto.h requires recompiling 1000 files.

We should split fle_crypto.h into three files
fle_crypto_types.h
fle_crypto_predicate.h
fle_crypto.h

The first two are needed by expression.h and can include code that less frequently changes instead of all of the FLE API.



 Comments   
Comment by Githook User [ 19/Oct/22 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-70593 Split fle_crypto.h
Branch: master
https://github.com/mongodb/mongo/commit/882cccaef7a0b1a4bcda2aa182086b12fb370676

Generated at Thu Feb 08 06:16:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.