[SERVER-75171] Use the GetQueryableEncryptionCountInfo command in compaction Created: 23/Mar/23  Updated: 29/Oct/23  Resolved: 10/Apr/23

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

Type: Task Priority: Major - P3
Reporter: Erwin Pe Assignee: Shreyas Kalyan
Resolution: Fixed Votes: 0
Labels: auto-reverted
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Assigned Teams:
Server Security
Backwards Compatibility: Fully Compatible
Sprint: Security 2023-04-03, Security 2023-04-17
Participants:
Linked BF Score: 152

 Description   

In QE compaction, instead of performing the binary search manually, we can use the GetQueryableEncryptionCountInfo command (thru a call to FLEQueryInterface::getTags) to get the next anchor position. This is more performant as the command will execute the emuBinaryV2() using direct storage engine lookups.



 Comments   
Comment by Githook User [ 10/Apr/23 ]

Author:

{'name': 'Shreyas Kalyan', 'email': 'shreyas.kalyan@mongodb.com', 'username': 'shreyaskal'}

Message: SERVER-75171 Use the GetQueryableEncryptionCountInfo command in compaction
Branch: master
https://github.com/mongodb/mongo/commit/ee6071a0f36b7d2ffb70afe83b9b0cb9364e2ec7

Comment by xgen-buildbaron-user [ 08/Apr/23 ]

Ticket re-opened due to revert. sharding_auth_audit began a consistent failure of jstests/sharding/database_versioning_all_commands.js

Comment by Githook User [ 08/Apr/23 ]

Author:

{'name': 'auto-revert-processor', 'email': 'dev-prod-dag@mongodb.com', 'username': ''}

Message: Revert "SERVER-75171 Use the GetQueryableEncryptionCountInfo command in compaction"

This reverts commit f0d099f5d149abb78feb673565fb83da5f1a6c41.
Branch: master
https://github.com/mongodb/mongo/commit/0239589385ef353ca1ee2a10036cd8c5c52d8599

Comment by Githook User [ 07/Apr/23 ]

Author:

{'name': 'Shreyas Kalyan', 'email': 'shreyas.kalyan@mongodb.com', 'username': 'shreyaskal'}

Message: SERVER-75171 Use the GetQueryableEncryptionCountInfo command in compaction
Branch: master
https://github.com/mongodb/mongo/commit/f0d099f5d149abb78feb673565fb83da5f1a6c41

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